projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f90fac
)
_emerge.depgraph: If "/" not in trees, treat target_root as running_root (needed...
author
Sebastian Luther
<SebastianLuther@gmx.de>
Thu, 5 Aug 2010 13:45:22 +0000
(15:45 +0200)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 5 Aug 2010 20:37:33 +0000
(13:37 -0700)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index aeaee0fcb6c37e70e5d22362fca8f81a2e06c1f1..15004821591946b68aaf9822c5215b0b468ca32b 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-66,7
+66,10
@@
class _frozen_depgraph_config(object):
if settings.get("PORTAGE_DEBUG", "") == "1":
self.edebug = 1
self.spinner = spinner
- self._running_root = trees["/"]["root_config"]
+ if "/" in trees:
+ self._running_root = trees["/"]["root_config"]
+ else:
+ self._running_root = trees[self.target_root]["root_config"]
self._opts_no_restart = frozenset(["--buildpkgonly",
"--fetchonly", "--fetch-all-uri", "--pretend"])
self.pkgsettings = {}