diff options
-rw-r--r-- | pym/portage/tests/resolver/ResolverPlayground.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/tests/resolver/ResolverPlayground.py b/pym/portage/tests/resolver/ResolverPlayground.py index a18585508..201c5c4af 100644 --- a/pym/portage/tests/resolver/ResolverPlayground.py +++ b/pym/portage/tests/resolver/ResolverPlayground.py @@ -483,6 +483,10 @@ class ResolverPlayground(object): 'PORTAGE_TMPDIR' : os.path.join(self.eroot, 'var/tmp'), } + if os.environ.get("SANDBOX_ON") == "1": + # avoid problems from nested sandbox instances + env["FEATURES"] = "-sandbox" + # Pass along PORTAGE_USERNAME and PORTAGE_GRPNAME since they # need to be inherited by ebuild subprocesses. if 'PORTAGE_USERNAME' in os.environ: |