summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
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 != "/":