From: Jason Stubbs Date: Wed, 9 Nov 2005 12:56:10 +0000 (-0000) Subject: Limit --emptytree to only affect ${ROOT} (#34887) X-Git-Tag: v2.1_pre1~64 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2a3b095d1b920210e6925de721268117311bde3c;p=portage.git Limit --emptytree to only affect ${ROOT} (#34887) svn path=/main/trunk/; revision=2266 --- diff --git a/bin/emerge b/bin/emerge index 8a8b6beb4..aaa288ec4 100755 --- a/bin/emerge +++ b/bin/emerge @@ -903,7 +903,7 @@ class depgraph: self.outdatedpackages=[] self.mydbapi={} self.mydbapi["/"] = portage.fakedbapi() - if "empty" not in myparams: + if "empty" not in myparams or portage.root != "/": for pkg in portage.db["/"]["vartree"].getallcpv(): self.mydbapi["/"].cpv_inject(pkg) if portage.root != "/":