mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
af8c316b97
commit
073a12c9cb
@@ -19,6 +19,9 @@ PACKAGE_ARCH = "all"
|
||||
# to the list. Their dependencies (RRECOMMENDS) are handled as usual
|
||||
# by package_depchains in a following step.
|
||||
python () {
|
||||
if d.getVar('PACKAGEGROUP_DISABLE_COMPLEMENTARY', True) == '1':
|
||||
return
|
||||
|
||||
packages = d.getVar('PACKAGES', True).split()
|
||||
genpackages = []
|
||||
for pkg in packages:
|
||||
|
||||
Reference in New Issue
Block a user