projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4bd70a
)
Tweak $ROOT handling inside depgraph._add_pkg_deps() for removal actions,
author
Zac Medico
<zmedico@gentoo.org>
Mon, 10 Aug 2009 02:38:02 +0000
(
02:38
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 10 Aug 2009 02:38:02 +0000
(
02:38
-0000)
so --with-bdeps works correctly with --depclean and --prune.
svn path=/main/trunk/; revision=13969
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 50923bf3d8ec0ca418f6ae52ab9a409bbe35d145..a8ed267e7846a573db3526a70d905eb4bc11f72a 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-1015,6
+1015,8
@@
class depgraph(object):
edepend["DEPEND"] = ""
bdeps_root = "/"
+ if removal_action:
+ bdeps_root = myroot
root_deps = self._frozen_config.myopts.get("--root-deps")
if root_deps is not None:
if root_deps is True: