diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-03-31 17:20:16 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-01 10:23:02 +0100 |
commit | 163a4e5be0328a0ba1df5a4aa738a08c2363215e (patch) | |
tree | a847d51953f9899a76e00ac5d70902438bcf58ac /documentation | |
parent | 5cf7a54a24487e4d2c2a72a42e1ea1cf2b87a572 (diff) | |
download | poky-163a4e5be0328a0ba1df5a4aa738a08c2363215e.tar.gz |
ref-manual: Updated to PACKAGE_GROUP and addition of FEATURE_PACKAGES.
The PACKAGE_GROUP variable was renamed to FEATURE_PACKAGES.
I added that fact to the description and pointed the reader off to
the new FEATURE_PACKAGES variable.
Added a new variable description for FEATURE_PACKAGES.
(From yocto-docs rev: f7a0a17c211cfc8f885771a5221bf3b59bc6bf95)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 63 |
1 files changed, 41 insertions, 22 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 13f62f4c9d..c7db5bea58 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -21,7 +21,7 @@ | |||
21 | <link linkend='var-CFLAGS'>C</link> | 21 | <link linkend='var-CFLAGS'>C</link> |
22 | <link linkend='var-D'>D</link> | 22 | <link linkend='var-D'>D</link> |
23 | <link linkend='var-ENABLE_BINARY_LOCALE_GENERATION'>E</link> | 23 | <link linkend='var-ENABLE_BINARY_LOCALE_GENERATION'>E</link> |
24 | <link linkend='var-FEED_DEPLOYDIR_BASE_URI'>F</link> | 24 | <link linkend='var-FEATURE_PACKAGES'>F</link> |
25 | <link linkend='var-GROUPADD_PARAM'>G</link> | 25 | <link linkend='var-GROUPADD_PARAM'>G</link> |
26 | <link linkend='var-HOMEPAGE'>H</link> | 26 | <link linkend='var-HOMEPAGE'>H</link> |
27 | <link linkend='var-ICECC_DISABLED'>I</link> | 27 | <link linkend='var-ICECC_DISABLED'>I</link> |
@@ -2170,6 +2170,34 @@ | |||
2170 | 2170 | ||
2171 | <glossdiv id='var-glossary-f'><title>F</title> | 2171 | <glossdiv id='var-glossary-f'><title>F</title> |
2172 | 2172 | ||
2173 | <glossentry id='var-FEATURE_PACKAGES'><glossterm>FEATURE_PACKAGES</glossterm> | ||
2174 | <glossdef> | ||
2175 | <para> | ||
2176 | Defines one or more packages to include in an image when | ||
2177 | a specific item is included in | ||
2178 | <link linkend='var-IMAGE_FEATURES'><filename>IMAGE_FEATURES</filename></link>. | ||
2179 | When setting the value, <filename>FEATURE_PACKAGES</filename> | ||
2180 | should have the name of the feature item as an override. | ||
2181 | Here is an example: | ||
2182 | <literallayout class='monospaced'> | ||
2183 | FEATURE_PACKAGES_widget = "package1 package2" | ||
2184 | </literallayout> | ||
2185 | In this example, if "widget" were added to | ||
2186 | <filename>IMAGE_FEATURES</filename>, "package1" and | ||
2187 | "package2" would be included in the image. | ||
2188 | <note> | ||
2189 | Packages installed by features defined through | ||
2190 | <filename>FEATURE_PACKAGES</filename> are often package | ||
2191 | groups. | ||
2192 | While similarly named, you should not confuse the | ||
2193 | <filename>FEATURE_PACKAGES</filename> variable with | ||
2194 | package groups, which are discussed elsewhere in the | ||
2195 | documentation. | ||
2196 | </note> | ||
2197 | </para> | ||
2198 | </glossdef> | ||
2199 | </glossentry> | ||
2200 | |||
2173 | <glossentry id='var-FEED_DEPLOYDIR_BASE_URI'><glossterm>FEED_DEPLOYDIR_BASE_URI</glossterm> | 2201 | <glossentry id='var-FEED_DEPLOYDIR_BASE_URI'><glossterm>FEED_DEPLOYDIR_BASE_URI</glossterm> |
2174 | <glossdef> | 2202 | <glossdef> |
2175 | <para> | 2203 | <para> |
@@ -4942,28 +4970,19 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
4942 | 4970 | ||
4943 | <glossentry id='var-PACKAGE_GROUP'><glossterm>PACKAGE_GROUP</glossterm> | 4971 | <glossentry id='var-PACKAGE_GROUP'><glossterm>PACKAGE_GROUP</glossterm> |
4944 | <glossdef> | 4972 | <glossdef> |
4973 | |||
4945 | <para> | 4974 | <para> |
4946 | Defines one or more packages to include in an image when | 4975 | The <filename>PACKAGE_GROUP</filename> variable has been |
4947 | a specific item is included in | 4976 | renamed to |
4948 | <link linkend='var-IMAGE_FEATURES'><filename>IMAGE_FEATURES</filename></link>. | 4977 | <link linkend='var-FEATURE_PACKAGES'><filename>FEATURE_PACKAGES</filename></link>. |
4949 | When setting the value, <filename>PACKAGE_GROUP</filename> | 4978 | See the variable description for |
4950 | should have the name of the feature item as an override. | 4979 | <filename>FEATURE_PACKAGES</filename> for information. |
4951 | Here is an example: | 4980 | </para> |
4952 | <literallayout class='monospaced'> | 4981 | |
4953 | PACKAGE_GROUP_widget = "package1 package2" | 4982 | <para> |
4954 | </literallayout> | 4983 | If if you use the <filename>PACKAGE_GROUP</filename> |
4955 | In this example, if "widget" were added to | 4984 | variable, the OpenEmbedded build system issues a warning |
4956 | <filename>IMAGE_FEATURES</filename>, "package1" and | 4985 | message. |
4957 | "package2" would be included in the image. | ||
4958 | <note> | ||
4959 | Packages installed by features defined through | ||
4960 | <filename>PACKAGE_GROUP</filename> are often package | ||
4961 | groups. | ||
4962 | While similarly named, you should not confuse the | ||
4963 | <filename>PACKAGE_GROUP</filename> variable with | ||
4964 | package groups, which are discussed elsewhere in the | ||
4965 | documentation. | ||
4966 | </note> | ||
4967 | </para> | 4986 | </para> |
4968 | </glossdef> | 4987 | </glossdef> |
4969 | </glossentry> | 4988 | </glossentry> |