diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-06 22:23:52 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-06 22:23:52 +0000 |
commit | 69a17b45b03f2636907231cee1c3c4f7644ecf1d (patch) | |
tree | 934a449c4ee7f4c61364da38f5cf0dea71bb2da4 /pym | |
parent | a5b1ace0e6ce465c1bc727c5cdea1f5e038f06cd (diff) | |
download | portage-69a17b45b03f2636907231cee1c3c4f7644ecf1d.tar.gz portage-69a17b45b03f2636907231cee1c3c4f7644ecf1d.tar.bz2 portage-69a17b45b03f2636907231cee1c3c4f7644ecf1d.zip |
Bug #201506 - Make preprocess_ebuild_env() preserve
SANDBOX_{DENY,PREDICT,READ,WRITE} between all phases,
except when the environment comes directly from
environment.bz2.
svn path=/main/trunk/; revision=8853
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 765261249..e5c73d116 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4422,7 +4422,10 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0, if os.WIFEXITED(retval) and \ os.WEXITSTATUS(retval) == os.EX_OK and \ env_stat and env_stat.st_size > 0: - pass + # This is a signal to ebuild.sh, so that it knows to filter + # out things like SANDBOX_{DENY,PREDICT,READ,WRITE} that + # would be preserved between normal phases. + open(env_file + ".raw", "w") else: writemsg(("!!! Error extracting saved " + \ "environment: '%s'\n") % \ |