1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-07 04:58:57 +00:00

arm-bsp/classes: Use :append to add to IMAGE_TYPES in wic_nopt

IMAGE_TYPES += "wic.nopt" is effective if the bbclass is included
using IMAGE_CLASSES, but not if included directly (using inherit) due to
file parse ordering.

To support applying wic_nopt locally (i.e. for certain image recipes but
not others), change to use :append.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Peter Hoyes
2023-02-16 15:33:40 +00:00
committed by Jon Mason
parent 557e89242e
commit 7fee7ee600
+1 -1
View File
@@ -1,7 +1,7 @@
# This class removes the empty partition table header
# in the WIC file when --no-table WKS option is used
IMAGE_TYPES += "wic.nopt"
IMAGE_TYPES:append = " wic.nopt"
CONVERSIONTYPES += "nopt"