summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-09 21:25:25 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-09 21:25:25 +0000
commitb71e518d42a3f35cfa1c4776074ad375bccb9d8d (patch)
tree8f89a78bc05a9dcd6850258813acecd9c7fc2ee5 /pym/_emerge/Scheduler.py
parentMerge libc asap for all roots instead of just ROOT="/". (trunk r15804) (diff)
downloadportage-multirepo-b71e518d42a3f35cfa1c4776074ad375bccb9d8d.tar.gz
portage-multirepo-b71e518d42a3f35cfa1c4776074ad375bccb9d8d.tar.bz2
portage-multirepo-b71e518d42a3f35cfa1c4776074ad375bccb9d8d.zip
Disable implicit libc deps for ROOT != "/" since it's probably not needed.
(trunk r15809) svn path=/main/branches/2.1.7/; revision=15811
Diffstat (limited to 'pym/_emerge/Scheduler.py')
-rw-r--r--pym/_emerge/Scheduler.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py
index bde47f3a..a6da7fee 100644
--- a/pym/_emerge/Scheduler.py
+++ b/pym/_emerge/Scheduler.py
@@ -425,6 +425,7 @@ class Scheduler(PollScheduler):
list contains both a new-style virtual and an old-style PROVIDE
virtual, the new-style virtual is used.
"""
+ implicit_libc_roots = set([self._running_root.root])
libc_set = InternalPackageSet([LIBC_PACKAGE_ATOM])
norm_libc_pkgs = {}
virt_libc_pkgs = {}
@@ -434,7 +435,8 @@ class Scheduler(PollScheduler):
continue
if pkg.installed:
continue
- if pkg.operation == 'merge':
+ if pkg.root in implicit_libc_roots and \
+ pkg.operation == 'merge':
if libc_set.findAtomForPackage(pkg):
if pkg.category == 'virtual':
d = virt_libc_pkgs
@@ -458,7 +460,8 @@ class Scheduler(PollScheduler):
continue
if pkg.installed:
continue
- if pkg.operation == 'merge':
+ if pkg.root in implicit_libc_roots and \
+ pkg.operation == 'merge':
if pkg in libc_pkgs:
earlier_libc_pkgs.add(pkg)
else: