From de623774153faa421203c8d1116b351596bea917 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 10 Sep 2013 15:15:28 -0700 Subject: dev-manual: Added new section on how to exclude a package Fixes [YOCTO #4079] The changes here address the documentation component of this bug. There is now a new section in the dev-manual in the "Working With Packages" section that describes and introduces the three variables the user can use to control this feature: BAD_RECOMMENDATIONS, NO_RECOMMENDATIONS, and PACKAGE_EXCLUDE. (From yocto-docs rev: a7e2097c43955db99ec068068d4291fc4e1deaf8) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index ccaf983cfc..0f630bd15e 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -2926,6 +2926,8 @@ This section describes a few tasks that involve packages: + Excluding packages from an image + Incrementing a package revision number Handling a package name alias @@ -2940,6 +2942,49 @@ +
+ Excluding Packages from an Image + + + You might find it necessary to prevent specific packages + from being installed into an image. + If so, you can use several variables to direct the build + system to essentially ignore installing recommended packages + or to not install a package at all. + + + + The following list introduces variables you can use to + prevent packages from being installed into your image. + Each of these variables only works with IPK and RPM + package types. + Support for Debian packages does not exist. + Also, you can use these variables from your + local.conf file or attach them to a + specific image recipe by using a recipe name override. + For more detail on the variables, see the descriptions in the + Yocto Project Reference Manual's glossary chapter. + + BAD_RECOMMENDATIONS: + Use this variable to specify "recommended-only" + packages that you do not want installed. + + NO_RECOMMENDATIONS: + Use this variable to prevent all "recommended-only" + packages from being installed. + + PACKAGE_EXCLUDE: + Use this variable to prevent specific packages from + being installed regardless of whether they are + "recommended-only" or not. + You need to realize that things could break when you + prevent the installation of a package whose presence + is required by an installed package. + + + +
+
Incrementing a Package Revision Number -- cgit v1.2.3-54-g00ecf