summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-01 00:05:41 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-01 00:05:41 +0000
commite45e8cd48d195269883b90a30c2fd1724b7fddf0 (patch)
tree73a48cc6449a29574d1c755520fec4f83a5b1083
parent1aea678de5d31f3847e347e0233b1fcb18a80b93 (diff)
downloadportage-e45e8cd48d195269883b90a30c2fd1724b7fddf0.tar.gz
portage-e45e8cd48d195269883b90a30c2fd1724b7fddf0.tar.bz2
portage-e45e8cd48d195269883b90a30c2fd1724b7fddf0.zip
Skip the code from bug #259954 when $ROOT != / since it shouldn't matter if
there are unsatisfied system runtime deps in this case. svn path=/main/trunk/; revision=12734
-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 83186a91e..eb6ea9a35 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -10785,6 +10785,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