diff options
author | Fabian Groffen <grobian@gentoo.org> | 2010-09-18 12:26:58 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2010-09-18 12:26:58 +0200 |
commit | 61e2de2e71982a66552838adfa3e7f518a39e0fe (patch) | |
tree | 899e0ce4c6f9917dd5533b71cdd2192f7ec0d09a /pym/portage/dbapi/vartree.py | |
parent | 33e225f07b92786428f20fc5d40cd09364dfc4a5 (diff) | |
download | portage-61e2de2e71982a66552838adfa3e7f518a39e0fe.tar.gz portage-61e2de2e71982a66552838adfa3e7f518a39e0fe.tar.bz2 portage-61e2de2e71982a66552838adfa3e7f518a39e0fe.zip |
Drop PREFIX LOCAL markers
Diffstat (limited to 'pym/portage/dbapi/vartree.py')
-rw-r--r-- | pym/portage/dbapi/vartree.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 144cc39f8..3ec31e91b 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1855,11 +1855,9 @@ class dblink(object): if lstatobj is None: show_unmerge("---", unmerge_desc["!found"], file_type, obj) continue - # PREFIX LOCAL: don't use EROOT or you will unmerge a - # just upgraded package! + # don't use EROOT, CONTENTS entries already contain EPREFIX if obj.startswith(real_root): relative_path = obj[real_root_len:] - # PREFIX LOCAL is_owned = False for dblnk in others_in_slot: if dblnk.isowner(relative_path): @@ -2049,9 +2047,8 @@ class dblink(object): "self.settings['EROOT'] will be used.", DeprecationWarning, stacklevel=2) - # PREFIX LOCAL: don't use eroot here + # don't use EROOT here, image already contains EPREFIX destroot = self.settings['ROOT'] - # PREFIX LOCAL # The given filename argument might have a different encoding than the # the filenames contained in the contents, so use separate wrapped os @@ -2547,9 +2544,7 @@ class dblink(object): scheduler = self._scheduler stopmerge = False collisions = [] - # PREFIX LOCAL: don't use eroot here destroot = self.settings['ROOT'] - # PREFIX LOCAL showMessage(_(" %s checking %d files for package collisions\n") % \ (colorize("GOOD", "*"), len(mycontents))) for i, f in enumerate(mycontents): @@ -2797,10 +2792,7 @@ class dblink(object): srcroot = _unicode_decode(srcroot, encoding=_encodings['content'], errors='strict') - # PREFIX LOCAL: no eroot here, image dir already has EPREFIX, - # will end up with double prefix in installation destroot = self.settings['ROOT'] - # PREFIX LOCAL inforoot = _unicode_decode(inforoot, encoding=_encodings['content'], errors='strict') myebuild = _unicode_decode(myebuild, |