From 7fee7ee6009c16479a169422cdb4c2f579a4550c Mon Sep 17 00:00:00 2001 From: Peter Hoyes Date: Thu, 16 Feb 2023 15:33:40 +0000 Subject: [PATCH] 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 Signed-off-by: Jon Mason --- meta-arm/classes/wic_nopt.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arm/classes/wic_nopt.bbclass b/meta-arm/classes/wic_nopt.bbclass index 322be498..9c78fd77 100644 --- a/meta-arm/classes/wic_nopt.bbclass +++ b/meta-arm/classes/wic_nopt.bbclass @@ -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"