nwl-image-fitimage: Fix filename of the fitimage in the artifacts file

id: 414705
This commit is contained in:
Samuel Dolt 2023-09-18 11:00:43 +02:00
parent 41820366c4
commit 8eec0f932c
1 changed files with 2 additions and 2 deletions

View File

@ -99,9 +99,9 @@ def get_nwl_fitimage_ci_artifacts(d):
# If an initramfs is used, publish the fitImage that contains it # If an initramfs is used, publish the fitImage that contains it
# otherwise the image without an initramfs # otherwise the image without an initramfs
if initramfs.strip() != "": if initramfs.strip() != "":
return "fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_LINK_NAME}${KERNEL_FIT_BIN_EXT}" return "fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_LINK_NAME}"
else: else:
return "fitImage-linux.bin-${KERNEL_FIT_LINK_NAME}${KERNEL_FIT_BIN_EXT}" return "fitImage-linux.bin-${KERNEL_FIT_LINK_NAME}"
# Add the generated fitImage to the list of artifacts to publish in the CI # Add the generated fitImage to the list of artifacts to publish in the CI
COREOS_CI_DEPLOY_ARTIFACTS += "${@get_nwl_fitimage_ci_artifacts(d)}" COREOS_CI_DEPLOY_ARTIFACTS += "${@get_nwl_fitimage_ci_artifacts(d)}"