# Not much that could be changed for world, so better leave it alone
[world]
class = portage.sets.base.DummyPackageSet
-world-candidate = False
packages = @selected @system
# Not much that could be changed for world, so better leave it alone
[selected]
class = portage.sets.files.WorldSelectedSet
-world-candidate = False
# Same as for world, though later portage versions might use a different class
[system]
class = portage.sets.profiles.PackagesSystemSet
-world-candidate = False
# For security there are multiple classes available, but differences are
# rather small (normally there should be no visible difference):
# - SecuritySet: include all GLSAs
[security]
class = portage.sets.security.NewAffectedSet
-world-candidate = False
# A superset of the classic <parameter>world</parameter> target, a set created
# by this class contains SLOT atoms to match all installed packages. Note that
# uninstallation of blocked packages.
[installed]
class = portage.sets.dbapi.EverythingSet
-world-candidate = False
# The following treats all files in /etc/portage/sets as a package set called
# '$filename'.
class = portage.sets.files.StaticFileSet
multiset = true
directory = %(PORTAGE_CONFIGROOT)setc/portage/sets
+world-candidate = True
# Set to rebuild all packages that need a preserved lib that only remains due
# to FEATURES=preserve-libs
[preserved-rebuild]
class = portage.sets.libs.PreservedLibraryConsumerSet
-world-candidate = False
# Installed ebuilds that inherit from known live eclasses.
[live-rebuild]
class = portage.sets.dbapi.VariableSet
-world-candidate = False
variable = INHERITED
includes = bzr cvs darcs git mercurial subversion tla
# Installed packages that own files inside /lib/modules.
[module-rebuild]
class = portage.sets.dbapi.OwnerSet
-world-candidate = False
files = %(ROOT)slib/modules
# Binary packages that have a different build time from a currently
# installed package of the exact same version.
[rebuilt-binaries]
class = portage.sets.dbapi.RebuiltBinaries
-world-candidate = False
# Installed packages for which the highest visible ebuild
# version is lower than the currently installed version.
[downgrade]
class = portage.sets.dbapi.DowngradeSet
-world-candidate = False
# Installed packages for which there are no visible ebuilds
# corresponding to the same $CATEGORY/$PN:$SLOT.
[unavailable]
class = portage.sets.dbapi.UnavailableSet
-world-candidate = False
self.errors.append(_("Redefinition of set '%s' (sections: '%s', '%s')") % (x, self.psets[x].creator, sname))
newsets[x].creator = sname
if parser.has_option(sname, "world-candidate") and \
- not parser.getboolean(sname, "world-candidate"):
- newsets[x].world_candidate = False
+ parser.getboolean(sname, "world-candidate"):
+ newsets[x].world_candidate = True
self.psets.update(newsets)
else:
self.errors.append(_("Section '%(section)s' is configured as multiset, but '%(class)s' "
self.psets[setname] = setclass.singleBuilder(optdict, self.settings, self.trees)
self.psets[setname].creator = sname
if parser.has_option(sname, "world-candidate") and \
- not parser.getboolean(sname, "world-candidate"):
- self.psets[setname].world_candidate = False
+ parser.getboolean(sname, "world-candidate"):
+ self.psets[setname].world_candidate = True
except SetConfigError as e:
self.errors.append(_("Configuration error in section '%s': %s") % (sname, str(e)))
continue