diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-08-30 14:56:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-04 12:52:56 +0100 |
commit | 073a12c9cbedd210499835d608d98005251f7d6a (patch) | |
tree | 7d6dcb2299be02df19da00943615a1802f41aa7a /meta/classes/packagegroup.bbclass | |
parent | af8c316b970d84c04a76b5160f450ebf23b7153d (diff) | |
download | poky-073a12c9cbedd210499835d608d98005251f7d6a.tar.gz |
classes/packagegroup: add ability to disable complementary packages
This allows package group recipes that do not want the automatic
addition of complementary packages (e.g. for SDKs) to still inherit from
this class and thus it becomes very easy to determine if a recipe is a
package group which we need to do in certain circumstances.
(From OE-Core rev: 3a3ae22bc0be5b36e0400986930f30c22a61a74e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/packagegroup.bbclass')
-rw-r--r-- | meta/classes/packagegroup.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index aa9e0ac650..76a6aa5bad 100644 --- a/meta/classes/packagegroup.bbclass +++ b/meta/classes/packagegroup.bbclass | |||
@@ -19,6 +19,9 @@ PACKAGE_ARCH = "all" | |||
19 | # to the list. Their dependencies (RRECOMMENDS) are handled as usual | 19 | # to the list. Their dependencies (RRECOMMENDS) are handled as usual |
20 | # by package_depchains in a following step. | 20 | # by package_depchains in a following step. |
21 | python () { | 21 | python () { |
22 | if d.getVar('PACKAGEGROUP_DISABLE_COMPLEMENTARY', True) == '1': | ||
23 | return | ||
24 | |||
22 | packages = d.getVar('PACKAGES', True).split() | 25 | packages = d.getVar('PACKAGES', True).split() |
23 | genpackages = [] | 26 | genpackages = [] |
24 | for pkg in packages: | 27 | for pkg in packages: |