[1/1] fix operator precedence in qemuarm64-bookworm

Message ID 20230418101425.454500-1-felix.moessbauer@siemens.com
State Accepted, archived
Headers show
Series [1/1] fix operator precedence in qemuarm64-bookworm | expand

Commit Message

MOESSBAUER, Felix April 18, 2023, 10:14 a.m. UTC
Instead of using the += operator, we need to use the :append operator to
add IMAGE_FSTYPES for that target. Otherwise, the additional types are
evaluated first and by that, weak assignments ( ?= ) are ignored.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 meta-isar/conf/multiconfig/qemuarm64-bookworm.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anton Mikanovich May 3, 2023, 2:48 p.m. UTC | #1
18/04/2023 13:14, 'Felix Moessbauer' via isar-users wrote:
> Instead of using the += operator, we need to use the :append operator to
> add IMAGE_FSTYPES for that target. Otherwise, the additional types are
> evaluated first and by that, weak assignments ( ?= ) are ignored.
>
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>

Applied to next, thanks.

Patch

diff --git a/meta-isar/conf/multiconfig/qemuarm64-bookworm.conf b/meta-isar/conf/multiconfig/qemuarm64-bookworm.conf
index a04c9d1f..714e4d73 100644
--- a/meta-isar/conf/multiconfig/qemuarm64-bookworm.conf
+++ b/meta-isar/conf/multiconfig/qemuarm64-bookworm.conf
@@ -5,5 +5,5 @@ 
 MACHINE ?= "qemuarm64"
 DISTRO ?= "debian-bookworm"
 
-IMAGE_FSTYPES += "wic.xz"
+IMAGE_FSTYPES:append = " wic.xz"
 IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"