From bd44f336801fbd818fab568349dc4117950cd051 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 6 Dec 2007 22:29:48 +0000 Subject: Bug #201506 - Make preprocess_ebuild_env() preserve SANDBOX_{DENY,PREDICT,READ,WRITE} between all phases, except when the environment comes directly from environment.bz2. (trunk r8853) svn path=/main/branches/2.1.2/; revision=8854 --- pym/portage.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/portage.py b/pym/portage.py index 60c873550..6538e0135 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4402,7 +4402,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") % \ -- cgit v1.2.3-1-g7c22