summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-11 06:30:42 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-11 06:30:42 +0000
commit2bb4426d9cb8e02c3d748fd2513149ab9117d461 (patch)
tree97d48273e0e527a5e998ed67ddc91348cf683b79
parent54269eca2afabd10b56c0c0677cb3f6d9a5d2585 (diff)
downloadportage-2bb4426d9cb8e02c3d748fd2513149ab9117d461.tar.gz
portage-2bb4426d9cb8e02c3d748fd2513149ab9117d461.tar.bz2
portage-2bb4426d9cb8e02c3d748fd2513149ab9117d461.zip
Skip the code from bug #259954 when $ROOT != / since it shouldn't matter if
there are unsatisfied system runtime deps in this case. (trunk r12734) svn path=/main/branches/2.1.6/; revision=12983
-rw-r--r--pym/_emerge/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 43ed4196d..9173d58bb 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -10769,6 +10769,12 @@ class Scheduler(PollScheduler):
if graph is None:
return
pkg = merge.merge.pkg
+
+ # Skip this if $ROOT != / since it shouldn't matter if there
+ # are unsatisfied system runtime deps in this case.
+ if pkg.root != '/':
+ return
+
completed_tasks = self._completed_tasks
unsatisfied = self._unsatisfied_system_deps