From 2b51a74bc093e476ece19d0a2194104585e4c903 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 10 Dec 2011 16:19:34 -0800 Subject: ResolverPlayground: don't nest sandbox --- pym/portage/tests/resolver/ResolverPlayground.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pym') 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: -- cgit v1.2.3-1-g7c22