Hello, I believe, the bb.utils.contains() statement is being evaluated 'as it goes', so any changes done in .bbappend files will not be reflected in that expression.
For example, I wanted to enable 'privdrop' PACKAGECONFIG for 'chrony' package, however adding PACKAGECONFIG:append = "privdrop" in my bbappend file has not resulted in inheriting the 'useradd' package: inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)} I believe, to address that issue the release 5.0 introduced the 'inherit_defer' statement. Do I understand correctly that all following occurrences of 'inherit' in meta-openembedded should be replaced by 'inherit_defer'? $ grep -r "inherit \${@bb.utils.contains" . ./meta-openembedded/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb:inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 'qmake5_paths', '', d)} ./meta-openembedded/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb:inherit ${@bb.utils.contains('PACKAGECONFIG', 'old-bridge', '', 'python3targetconfig', d)} ./meta-openembedded/meta-networking/recipes-protocols/openlldp/openlldp_1.1.1.bb:inherit ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} ./meta-openembedded/meta-networking/recipes-filter/nftables/nftables_1.0.9.bb:inherit${@bb.utils.contains('PACKAGECONFIG', 'python', 'setuptools3', '', d)} ./meta-openembedded/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb:inherit ${@bb.utils.contains('PACKAGECONFIG', 'vala', 'vala', '', d)} ./meta-networking/recipes-support/chrony/chrony_4.5.bb:inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)} ./meta-openembedded/meta-networking/recipes-support/wireshark/wireshark_4.2.4.bb:inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 'cmake_qt5', '', d)} ./meta-openembedded/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb:inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "distutils", "", d)} ./meta-openembedded/meta-oe/recipes-support/poppler/poppler_23.04.0.bb:inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 'cmake_qt5', '', d)} ./meta-openembedded/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.1.bb:inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt', 'cmake_qt5', 'cmake', d)} ./meta-openembedded/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb:inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "setuptools", "", d)} ./meta-openembedded/meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb:inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "setuptools", "", d)} I use Yocto 5.0.1. Best regards, Lukasz *** The information in this email is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this email in error please notify the sender by return e-mail, delete this email, and refrain from any disclosure or action based on the information. This email system is not authorized to receive Controlled Unclassified Information (CUI). Please contact your intended Woodward recipient to identify permissible and authorized options for transmission of CUI to a Woodward recipient. ***
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63351): https://lists.yoctoproject.org/g/yocto/message/63351 Mute This Topic: https://lists.yoctoproject.org/mt/106724990/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-