From b6edb0076f0a3088a05413f1693c95249757239d Mon Sep 17 00:00:00 2001 From: Gonzalo Ruiz Date: Sun, 14 Jun 2020 12:27:18 +0200 Subject: [PATCH] imx-boot: add 'signed' to the signed images prefix Signed imx-boot files had the '-signed' appended at the end of the file. Add it after the file prefix instead, so it is easier to replace using an unsigned file for a signed one just by changing the file prefix. https://jira.digi.com/browse/DEL-7024 Signed-off-by: Gonzalo Ruiz --- meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend b/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend index 4eaec6f61..e8bee4732 100644 --- a/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend +++ b/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend @@ -212,11 +212,11 @@ do_deploy_append () { # Sign U-boot image if [ "${UBOOT_RAM_COMBINATIONS}" = "" ]; then - trustfence-sign-uboot.sh ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}.bin ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}-signed.bin + trustfence-sign-uboot.sh ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}.bin ${DEPLOYDIR}/${UBOOT_PREFIX}-signed-${MACHINE}.bin else for ramc in ${UBOOT_RAM_COMBINATIONS}; do for rev in ${SOC_REVISIONS}; do - trustfence-sign-uboot.sh ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}-${rev}-${ramc}.bin ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}-${rev}-${ramc}-signed.bin + trustfence-sign-uboot.sh ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}-${rev}-${ramc}.bin ${DEPLOYDIR}/${UBOOT_PREFIX}-signed-${MACHINE}-${rev}-${ramc}.bin done done fi