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

svn path=/main/branches/2.1.6/; revision=12983

pym/_emerge/__init__.py

index 43ed4196d9924c1087654e0b43e36f9dc59ac6e1..9173d58bb21d7494720b8b89a62380a8d1d28905 100644 (file)
@@ -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