<title>Customizing Images Using Custom Package Groups</title>
<para>
- For complex custom images, the best approach is to create a custom package group recipe
- that is used to build the image or images.
+ For complex custom images, the best approach is to create a
+ custom package group recipe that is used to build the image or
+ images.
A good example of a package group recipe is
<filename>meta/recipes-core/packagegroups/packagegroup-core-boot.bb</filename>.
The
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGES'>PACKAGES</ulink></filename>
- variable lists the package group packages you wish to produce. <filename>inherit packagegroup</filename>
- sets appropriate default values and automatically adds <filename>-dev</filename>
- and <filename>-dbg</filename> complementary
- packages for every package specified in <filename>PACKAGES</filename>.
+ variable lists the package group packages you wish to produce.
+ <filename>inherit packagegroup</filename> sets appropriate
+ default values and automatically adds <filename>-dev</filename>,
+ <filename>-dbg</filename>, and <filename>-ptest</filename>
+ complementary packages for every package specified in
+ <filename>PACKAGES</filename>.
Note that the inherit line should be towards
- the top of the recipe, certainly before you set <filename>PACKAGES</filename>.
- For each package you specify in <filename>PACKAGES</filename>, you can use
+ the top of the recipe, certainly before you set
+ <filename>PACKAGES</filename>.
+ For each package you specify in <filename>PACKAGES</filename>,
+ you can use
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-RDEPENDS'>RDEPENDS</ulink></filename>
and
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-RRECOMMENDS'>RRECOMMENDS</ulink></filename>
- entries to provide a list of packages the parent task package should contain.
+ entries to provide a list of packages the parent task package
+ should contain.
Following is an example:
<literallayout class='monospaced'>
DESCRIPTION = "My Custom Package Groups"