summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-10-22 08:58:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-01 17:09:49 +0000
commitfe0292764a1c536504695b9a23ef18f3a0376777 (patch)
tree0fbff5fc993ca95c2964769c32da201bfa9833c9 /documentation
parent89c1047da12eedff910c4940a89c0cd4dfe9c0ac (diff)
downloadpoky-fe0292764a1c536504695b9a23ef18f3a0376777.tar.gz
dev-manual: Added -ptest to list of complementarty packages
Added the '-ptest' complementary package to the list of packages, which included '-dev' and '-dbg' when using inherit packagegroup. Robert P. J. Day pointed out the code in the OE packagegroup.bbclass class that showed these three packages all together. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> (From yocto-docs rev: 823555ac44958995426cc631d992b9d276c42ca4) 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/dev-manual/dev-manual-common-tasks.xml24
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"