Skip the code from bug #259954 when $ROOT != / since it shouldn't matter if
authorZac Medico <zmedico@gentoo.org>
Sun, 1 Mar 2009 00:05:41 +0000 (00:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 1 Mar 2009 00:05:41 +0000 (00:05 -0000)
there are unsatisfied system runtime deps in this case.

svn path=/main/trunk/; revision=12734

pym/_emerge/__init__.py

index 83186a91ed88b4d59b6cf55dc456345ec6170541..eb6ea9a35c5db851d03c48b6457667a4055dad89 100644 (file)
@@ -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