to Martin Gysel (bearsh) <m.gysel@gmx.ch> for this patch.
svn path=/main/trunk/; revision=15307
[usersets]
class = portage.sets.files.StaticFileSet
multiset = true
-directory = /etc/portage/sets
+directory = %(PORTAGE_CONFIGROOT)setc/portage/sets
# Set to rebuild all packages that need a preserved lib that only remains due
# to FEATURES=preserve-libs
class SetConfig(object):
def __init__(self, paths, settings, trees):
- self._parser = SafeConfigParser()
+ self._parser = SafeConfigParser(
+ defaults={"PORTAGE_CONFIGROOT" : settings["PORTAGE_CONFIGROOT"]})
self._parser.read(paths)
self.errors = []
self.psets = {}