From: Massimiliano Minella <[email protected]> The inherit is controlled by the PACKAGECONFIG option "gui" but, since it is expanded at parse time, this causes a build error if the option is removed via a bbappend and DISTRO_FEATURES doesn't contain "x11" or "wayland". Replace the inherit with inherit_defer to evaluate the inherit at the end of parsing.
Signed-off-by: Massimiliano Minella <[email protected]> --- recipes-extended/virt-manager/virt-manager_4.1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git recipes-extended/virt-manager/virt-manager_4.1.0.bb recipes-extended/virt-manager/virt-manager_4.1.0.bb index d752fd2b..08b7d02b 100644 --- recipes-extended/virt-manager/virt-manager_4.1.0.bb +++ recipes-extended/virt-manager/virt-manager_4.1.0.bb @@ -15,7 +15,7 @@ S = "${WORKDIR}/git" PACKAGECONFIG ??= "gui" PACKAGECONFIG[gui] = ",--no-update-icon-cache --no-compile-schemas,python3-pygobject" -inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache', '', d)} +inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache', '', d)} inherit bash-completion gettext pkgconfig setuptools3_legacy PACKAGES += " \ --- base-commit: b57f8a25a35a93b95e3baa950c2d359fffc13051 change-id: 20250121-use_inherit_defer-0d8e1fb85c13 Best regards, -- Massimiliano Minella <[email protected]>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9101): https://lists.yoctoproject.org/g/meta-virtualization/message/9101 Mute This Topic: https://lists.yoctoproject.org/mt/110734659/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
