diff options
-rw-r--r-- | pym/portage/tests/resolver/ResolverPlayground.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pym/portage/tests/resolver/ResolverPlayground.py b/pym/portage/tests/resolver/ResolverPlayground.py index ab231adaa..fd916a71b 100644 --- a/pym/portage/tests/resolver/ResolverPlayground.py +++ b/pym/portage/tests/resolver/ResolverPlayground.py @@ -155,7 +155,13 @@ class ResolverPlayground(object): raise NotImplentedError() def _load_config(self): - env = { "PORTDIR": self.portdir, "ROOT": self.root, "ACCEPT_KEYWORDS": "x86"} + env = { + "ACCEPT_KEYWORDS": "x86", + "PORTDIR": self.portdir, + "ROOT": self.root, + 'PORTAGE_TMPDIR' : os.path.join(self.root, 'var/tmp') + } + settings = config(config_root=self.root, target_root=self.root, local_config=False, env=env) settings.lock() |