aboutsummaryrefslogtreecommitdiff
path: root/doc/configuration/packagemask.html.part.in
blob: 387e7c4d212ec7558eef7c16b35e1b4e66722af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!-- vim: set tw=120 ft=html sw=4 sts=4 et : -->

<h1>package_mask.conf and package_unmask.conf</h1>

###PALUDISENVIRONMENTONLY###

<p>The <code>package_mask.conf</code> file allows a package to be explicitly masked. The
<code>package_unmask.conf</code> file allows repository and profile masked packages to be unmasked. Both are standard
configuration files which may be bash files and which may use a <code>.conf.d/</code> directory.</p>

<p>Each line in the file consists of a specification.</p>

<h2>Example</h2>

<p>An example <code>package_mask.conf</code>:</p>

<pre>
# Mask gcc 4.2 for now
sys-devel/gcc:4.2

# Mask all versions of Portage
sys-apps/portage
</pre>

<p>And an example <code>package_unmask.conf</code>:</p>

<pre>
# Ignore repository and profile masks for things in the toolchain overlay
*/*::toolchain
</pre>