projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e4ab3
)
ResolverPlayground: don't nest sandbox
author
Zac Medico
<zmedico@gentoo.org>
Sun, 11 Dec 2011 00:19:34 +0000
(16:19 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 11 Dec 2011 00:19:34 +0000
(16:19 -0800)
pym/portage/tests/resolver/ResolverPlayground.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/resolver/ResolverPlayground.py
b/pym/portage/tests/resolver/ResolverPlayground.py
index a1858550821d1ecc53b1c2299ab1c1312d85ac25..201c5c4af49c3d769dfdbd78d8039ae28f5baa0f 100644
(file)
--- 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: