From 52a9ca562e96461c12c4f9e56d8edc20ab08ae5a Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 22 Oct 2013 08:58:21 -0700 Subject: [PATCH] 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 (From yocto-docs rev: 92bbbbe77b5694eb9e11789c6c425be8c47399c9) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 24 ++++++++++++------- 1 file 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 @@ Customizing Images Using Custom Package Groups - 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 meta/recipes-core/packagegroups/packagegroup-core-boot.bb. The PACKAGES - variable lists the package group packages you wish to produce. inherit packagegroup - sets appropriate default values and automatically adds -dev - and -dbg complementary - packages for every package specified in PACKAGES. + variable lists the package group packages you wish to produce. + inherit packagegroup sets appropriate + default values and automatically adds -dev, + -dbg, and -ptest + complementary packages for every package specified in + PACKAGES. Note that the inherit line should be towards - the top of the recipe, certainly before you set PACKAGES. - For each package you specify in PACKAGES, you can use + the top of the recipe, certainly before you set + PACKAGES. + For each package you specify in PACKAGES, + you can use RDEPENDS and RRECOMMENDS - 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: DESCRIPTION = "My Custom Package Groups"