From 419b8def29d5a1ceb66d10ede14b2f5438ce0299 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Thu, 13 Sep 2018 16:58:47 +0200 Subject: [PATCH] dey-image-installer: generalize bootloader name to support imx-boot files The generate_installer_zip() function had a hardcoded "u-boot" filename when adding the bootloader to the list of files that are put in the installer .zip. https://jira.digi.com/browse/DEL-6174 Signed-off-by: Gabriel Valcazar --- meta-digi-dey/classes/dey-image-installer.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-dey/classes/dey-image-installer.bbclass b/meta-digi-dey/classes/dey-image-installer.bbclass index e3d0f1f9e..a0e1d18ed 100644 --- a/meta-digi-dey/classes/dey-image-installer.bbclass +++ b/meta-digi-dey/classes/dey-image-installer.bbclass @@ -27,8 +27,8 @@ generate_installer_zip () { fi done for ubconf in ${UBOOT_CONFIG}; do - if readlink -e "${DEPLOY_DIR_IMAGE}/u-boot-${ubconf}.${UBOOT_SUFFIX}" >/dev/null; then - INSTALLER_FILELIST="${INSTALLER_FILELIST} ${DEPLOY_DIR_IMAGE}/u-boot-${ubconf}.${UBOOT_SUFFIX}" + if readlink -e "${DEPLOY_DIR_IMAGE}/${IMAGE_BOOTLOADER}-${ubconf}.${UBOOT_SUFFIX}" >/dev/null; then + INSTALLER_FILELIST="${INSTALLER_FILELIST} ${DEPLOY_DIR_IMAGE}/${IMAGE_BOOTLOADER}-${ubconf}.${UBOOT_SUFFIX}" fi done