From f0dda1c747d058f69f079017c626977e6f26dafc Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 10 Aug 2010 01:58:37 -0700 Subject: [PATCH] Add suitable default PORTAGE_TMPDIR setting. --- pym/portage/tests/resolver/ResolverPlayground.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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() -- 2.26.2