summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-05 06:03:43 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-05 06:03:43 +0000
commitcf050353c36d397dd0314a6a98b51aefbcedbf64 (patch)
treec009fc0392243ae009a4270a079dfaa38e503ad2 /pym/portage.py
parent9a04c91bb0d2dd2bd572a8b102faa8331ffaac53 (diff)
downloadportage-cf050353c36d397dd0314a6a98b51aefbcedbf64.tar.gz
portage-cf050353c36d397dd0314a6a98b51aefbcedbf64.tar.bz2
portage-cf050353c36d397dd0314a6a98b51aefbcedbf64.zip
Bug #219286 - Whitelist INSTALL_MASK so that it works properly for binary
packages. Also, filter INSTALL_MASK when saving or loading environment.bz2. This also applies to PKG_INSTALL_MASK and DOC_SYMLINKS_DIR, so add them too. (trunk r10195) svn path=/main/branches/2.1.2/; revision=10197
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 462363c91..3a12812be 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1098,6 +1098,11 @@ class config:
"XARGS",
]
+ # user config variables
+ _environ_whitelist += [
+ "DOC_SYMLINKS_DIR", "INSTALL_MASK", "PKG_INSTALL_MASK"
+ ]
+
_environ_whitelist += [
"A", "AA", "CATEGORY", "P", "PF", "PN", "PR", "PV", "PVR"
]