From abf964a4690c987e541ed831dc33274618b69f4d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 1 Nov 2008 22:06:15 +0000 Subject: [PATCH] TODO: In case some elf files collide with blocked packages, ensure that NEEDED data from include_file overrides the stale NEEDED data from the colliding files in the blocked packages. svn path=/main/trunk/; revision=11788 --- pym/portage/dbapi/vartree.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index fe45e3b4e..2b9460462 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -3286,6 +3286,9 @@ class dblink(object): gid=portage_gid, mode=02750, mask=02) writedict(cfgfiledict, conf_mem_file) + # TODO: In case some elf files collide with blocked packages, + # ensure that NEEDED data from include_file overrides the stale + # NEEDED data from the colliding files in the blocked packages. exclude_pkgs = set(dblnk.mycpv for dblnk in others_in_slot) self.vartree.dbapi.linkmap.rebuild(exclude_pkgs=exclude_pkgs, include_file=os.path.join(inforoot, "NEEDED.ELF.2")) -- 2.26.2