From: Zac Medico Date: Mon, 10 Aug 2009 02:38:02 +0000 (-0000) Subject: Tweak $ROOT handling inside depgraph._add_pkg_deps() for removal actions, X-Git-Tag: v2.2_rc38~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bcaeb5febbe0d242ca2a51db237ac11630eb74f2;p=portage.git Tweak $ROOT handling inside depgraph._add_pkg_deps() for removal actions, so --with-bdeps works correctly with --depclean and --prune. svn path=/main/trunk/; revision=13969 --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 50923bf3d..a8ed267e7 100644 --- 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: