diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-12-10 16:19:34 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-12-10 16:19:34 -0800 |
commit | 2b51a74bc093e476ece19d0a2194104585e4c903 (patch) | |
tree | c756c268d6a72471292ace757d2a918a4af74f3a /pym/portage | |
parent | 54e4ab36340f1ef3ffa250132bc5458e3d77ab6d (diff) | |
download | portage-2b51a74bc093e476ece19d0a2194104585e4c903.tar.gz portage-2b51a74bc093e476ece19d0a2194104585e4c903.tar.bz2 portage-2b51a74bc093e476ece19d0a2194104585e4c903.zip |
ResolverPlayground: don't nest sandbox
Diffstat (limited to 'pym/portage')
-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: |