From 605cc2959c0316a4a3124595482eddcb10238dff Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Fri, 2 May 2008 10:46:47 +0000 Subject: Update documentation for package set configuration. Original patch by Arfrever Frehtes Taifersar Arahesis svn path=/main/trunk/; revision=10086 --- doc/config/sets.docbook | 50 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 39 insertions(+), 11 deletions(-) (limited to 'doc') diff --git a/doc/config/sets.docbook b/doc/config/sets.docbook index c7fc37c21..40274a426 100644 --- a/doc/config/sets.docbook +++ b/doc/config/sets.docbook @@ -49,12 +49,13 @@ isn't stricly required, but it should always be used as the default handler might be changed in future versions.. That option defines which handler class should be used to - create the set. Another universal option available for single sets is - name, however it's usually not needed as the name + create the set. Other universal options available for single sets are + name (which is usually not needed as the name of the set is generated from the section name if name - is missing. Some handler classes might require additional - options for their configuration, these will be covered later in - this chapter. + is missing) and world-candidate, which determines if + given package should be added to the world set. Some + handler classes might require additional options for their configuration, + these will be covered later in this chapter. Here are a few examples for single sets taken from the default @@ -63,6 +64,7 @@ # The classic world set [world] class = portage.sets.files.WorldSet + world-candidate = False # The classic system set [system] @@ -81,7 +83,8 @@ sets each section still requires the class option, but to indicate that the section should generate multiple sets it's also necessary to set the multiset option to - true. + true. The world-candidate + option is also supported like with single sets. As it doesn't make much sense to specify a single name for multiple sets @@ -157,6 +160,11 @@ filename: Required. Specifies the path to the file that should be used for the package set. + greedy: Optional, defaults to false. + Determines if atoms in the package should include all installed slots (when set to + true) or if no slot expansion is wanted (when set to + false). This option only affects packages that have multiple + slots available (e.g. sys-kernel/gentoo-sources). @@ -172,7 +180,7 @@ that location a separate package set is created. name_pattern: Optional, defaults to - sets/$name. This describes the naming pattern + $name. This describes the naming pattern to be used for creating the sets. It must contain either $name or ${name}, which will be replaced by the filename (without any directory components). @@ -218,7 +226,7 @@ No other files in that directory will be used. name_pattern: Optional, defaults to - sets/package_$suffix. This describes the naming + package_$suffix. This describes the naming pattern to be used for creating the sets. It must contain either $suffix or ${suffix}, which will be replaced by the file suffix (e.g. @@ -240,7 +248,7 @@ Single Set Configuraton - This class does not support any options. + This class doesn't support any extra options. @@ -258,7 +266,7 @@ Single Set Configuration - This class does not support any options. + This class doesn't support any extra options. @@ -441,7 +449,26 @@ Single Set Configuration - This class does not support any options. + This class doesn't support any extra options. + + + + + portage.sets.libs.PreservedLibraryConsumerSet + + A special set used to rebuild all packages that need a preserved library that only + remains due to FEATURES="preserve-libs". + + + + Single Set Configuration + + This class supports the following option: + + debug: Generate extra output useful to figure out why + certain packages are included in the set, as it's not always obvious. + + @@ -462,6 +489,7 @@ world: uses WorldSet security: uses NewAffectedSet with default options everything: uses EverythingSet + preserved-rebuild: uses PreservedLibraryConsumerSet Additionally the default configuration includes a multi set section based on the StaticFileSet defaults that creates a set for each -- cgit v1.2.3-1-g7c22