From bb36013e7a8c2060389951a9e205a5689556eabd Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Mon, 10 Feb 2020 14:05:47 +0100 Subject: [PATCH] dey-image-installer: fix BOOTABLE_ARTIFACTS for ConnectCore 8M Nano platform The bootable artifacts that must go inside the installer ZIP image, are defined in the variable BOOTABLE_ARTIFACTS. For platforms without RAM_CONFIGS, these artifacts are obtained from the UBOOT_CONFIG variable. This commit fixes the final artifact name added to the BOOTABLE_ARTIFACTS that for some platform is not strictly the same that the UBOOT_CONFIG name. For example for the U-Boot configuration "ccimx8mn_dvk", corresponds the bootable artifact "ccimx8mn-dvk" https://jira.digi.com/browse/DEL-6974 Signed-off-by: Arturo Buzarra --- meta-digi-arm/classes/boot-artifacts.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-arm/classes/boot-artifacts.bbclass b/meta-digi-arm/classes/boot-artifacts.bbclass index f0195bd8c..34ff5a307 100644 --- a/meta-digi-arm/classes/boot-artifacts.bbclass +++ b/meta-digi-arm/classes/boot-artifacts.bbclass @@ -38,7 +38,7 @@ def get_bootable_artifacts(d): # For platforms without RAM_CONFIGS, build the artifacts from UBOOT_CONFIG if ram_configs == "": for t in types.split(" "): - artifacts.append("%s-%s.%s" % (uboot_prefix, t, uboot_suffix)) + artifacts.append("%s-%s.%s" % (uboot_prefix, t.replace("_","-"), uboot_suffix)) return " ".join(artifacts) else: machine = d.getVar('MACHINE', True) or ""