The set of packages included in a packagegroup depend on the PACKAGEGROUP_DISABLE_COMPLEMENTARY variable and, if that variable is not set to '1', on DISTRO_FEATURES. As this magic happen in a python function it can't be detected by the dependency system. We have to add these variables to the PACKAGEVARS list to have them added to the do_package vardeps list.
Signed-off-by: Alban Bedel <[email protected]> --- meta/classes/packagegroup.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index 557b1b6382ba..cffdaadbde0e 100644 --- a/meta/classes/packagegroup.bbclass +++ b/meta/classes/packagegroup.bbclass @@ -31,9 +31,11 @@ python () { packages = [pkg + suffix for pkg in packages for suffix in types] d.setVar('PACKAGES', ' '.join(packages)) + d.appendVar('PACKAGEVARS', ' DISTRO_FEATURES') for pkg in packages: d.setVar('ALLOW_EMPTY:%s' % pkg, '1') } +PACKAGEVARS += 'PACKAGEGROUP_DISABLE_COMPLEMENTARY' # We don't want to look at shared library dependencies for the # dbg packages -- 2.32.0
smime.p7s
Description: S/MIME cryptographic signature
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#163606): https://lists.openembedded.org/g/openembedded-core/message/163606 Mute This Topic: https://lists.openembedded.org/mt/89997103/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
