summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cnf/make.globals1
-rw-r--r--pym/portage.py4
2 files changed, 1 insertions, 4 deletions
diff --git a/cnf/make.globals b/cnf/make.globals
index 22718362..72f71712 100644
--- a/cnf/make.globals
+++ b/cnf/make.globals
@@ -58,6 +58,7 @@ PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
# Minimal CONFIG_PROTECT
CONFIG_PROTECT="/etc"
+CONFIG_PROTECT_MASK="/etc/env.d"
# Hide USE flags that can't be changed easily.
USE_EXPAND_HIDDEN="ELIBC KERNEL USERLAND"
diff --git a/pym/portage.py b/pym/portage.py
index 79271d36..3742b708 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1750,10 +1750,6 @@ class config:
elif x.has_key(mykey):
match = x[mykey]
break
-
- if mykey == "CONFIG_PROTECT_MASK":
- match += " /etc/env.d"
-
return match
def has_key(self,mykey):