summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-09 21:09:34 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-09 21:09:34 +0000
commitb0070b9eef8ab713632c9341942082ee994af0a6 (patch)
tree3ffdd745bc8f46c34d36c6f8222dd1bbac2bdb7f /pym/_emerge/Scheduler.py
parentMerge libc asap for all roots instead of just ROOT="/". (diff)
downloadportage-multirepo-b0070b9eef8ab713632c9341942082ee994af0a6.tar.gz
portage-multirepo-b0070b9eef8ab713632c9341942082ee994af0a6.tar.bz2
portage-multirepo-b0070b9eef8ab713632c9341942082ee994af0a6.zip
Disable implicit libc deps for ROOT != "/" since it's probably not needed.
svn path=/main/trunk/; revision=15809
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 c35c2eab..46767e47 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: