From: Zac Medico Date: Tue, 10 Aug 2010 08:58:37 +0000 (-0700) Subject: Add suitable default PORTAGE_TMPDIR setting. X-Git-Tag: v2.2_rc68~344 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0dda1c747d058f69f079017c626977e6f26dafc;p=portage.git Add suitable default PORTAGE_TMPDIR setting. --- 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()