diff options
Diffstat (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 0d3d59355c..7a5a375c0e 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -917,23 +917,29 @@ | |||
917 | <title>Customizing Images Using Custom Package Groups</title> | 917 | <title>Customizing Images Using Custom Package Groups</title> |
918 | 918 | ||
919 | <para> | 919 | <para> |
920 | For complex custom images, the best approach is to create a custom package group recipe | 920 | For complex custom images, the best approach is to create a |
921 | that is used to build the image or images. | 921 | custom package group recipe that is used to build the image or |
922 | images. | ||
922 | A good example of a package group recipe is | 923 | A good example of a package group recipe is |
923 | <filename>meta/recipes-core/packagegroups/packagegroup-core-boot.bb</filename>. | 924 | <filename>meta/recipes-core/packagegroups/packagegroup-core-boot.bb</filename>. |
924 | The | 925 | The |
925 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGES'>PACKAGES</ulink></filename> | 926 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGES'>PACKAGES</ulink></filename> |
926 | variable lists the package group packages you wish to produce. <filename>inherit packagegroup</filename> | 927 | variable lists the package group packages you wish to produce. |
927 | sets appropriate default values and automatically adds <filename>-dev</filename> | 928 | <filename>inherit packagegroup</filename> sets appropriate |
928 | and <filename>-dbg</filename> complementary | 929 | default values and automatically adds <filename>-dev</filename>, |
929 | packages for every package specified in <filename>PACKAGES</filename>. | 930 | <filename>-dbg</filename>, and <filename>-ptest</filename> |
931 | complementary packages for every package specified in | ||
932 | <filename>PACKAGES</filename>. | ||
930 | Note that the inherit line should be towards | 933 | Note that the inherit line should be towards |
931 | the top of the recipe, certainly before you set <filename>PACKAGES</filename>. | 934 | the top of the recipe, certainly before you set |
932 | For each package you specify in <filename>PACKAGES</filename>, you can use | 935 | <filename>PACKAGES</filename>. |
936 | For each package you specify in <filename>PACKAGES</filename>, | ||
937 | you can use | ||
933 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-RDEPENDS'>RDEPENDS</ulink></filename> | 938 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-RDEPENDS'>RDEPENDS</ulink></filename> |
934 | and | 939 | and |
935 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-RRECOMMENDS'>RRECOMMENDS</ulink></filename> | 940 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-RRECOMMENDS'>RRECOMMENDS</ulink></filename> |
936 | entries to provide a list of packages the parent task package should contain. | 941 | entries to provide a list of packages the parent task package |
942 | should contain. | ||
937 | Following is an example: | 943 | Following is an example: |
938 | <literallayout class='monospaced'> | 944 | <literallayout class='monospaced'> |
939 | DESCRIPTION = "My Custom Package Groups" | 945 | DESCRIPTION = "My Custom Package Groups" |