| Message ID | 20260317-fix-invalid-appends-v2-9-5c65ae5787d9@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | Confusing and invalid conditional appends | expand |
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb index ec6c3b516c..6f9390e6d4 100644 --- a/meta/recipes-core/ovmf/ovmf_git.bb +++ b/meta/recipes-core/ovmf/ovmf_git.bb @@ -247,7 +247,7 @@ FILES:ovmf-shell-efi = " \ DEPLOYDEP = "" DEPLOYDEP:class-target = "qemu-system-native:do_populate_sysroot" -DEPLOYDEP:class-target += " ${@bb.utils.contains('PACKAGECONFIG', 'secureboot', 'openssl-native:do_populate_sysroot', '', d)}" +DEPLOYDEP:append:class-target = " ${@bb.utils.contains('PACKAGECONFIG', 'secureboot', 'openssl-native:do_populate_sysroot', '', d)}" do_deploy[depends] += "${DEPLOYDEP}" do_deploy() {
The only reason why this append wasn't overriding qemu-system-native entry from the line above is because that one was also defined with :class-target override. To avoid any surprises in the future let's use `:append:class-target =` syntax here. Signed-off-by: Michal Sieron <michalwsieron@gmail.com> --- meta/recipes-core/ovmf/ovmf_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)