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 <arturo.buzarra@digi.com>
This commit is contained in:
parent
3c801aa3ea
commit
bb36013e7a
|
|
@ -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 ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue