projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5956b1
)
Add suitable default PORTAGE_TMPDIR setting.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 10 Aug 2010 08:58:37 +0000
(
01:58
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 10 Aug 2010 08:58:37 +0000
(
01:58
-0700)
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 ab231adaac81e48fa974d614d4fe3cd898e40a1d..fd916a71bc90b9bdf0a511a56b03cb9a656d7cd6 100644
(file)
--- 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()