From 716d55fadfd7c05a45ce4cdf110ca6162e89a07a Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Thu, 7 May 2020 11:26:12 +0200 Subject: [PATCH] u-boot: fix code that copies 'install_linux_fw_uuu.sh' script The if condition expanded to nothing so the install command was never called. Apart from that the install command was wrong and missing the '-m' option for modifier. Signed-off-by: Hector Palacios --- meta-digi-arm/recipes-bsp/u-boot/digi-u-boot.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-arm/recipes-bsp/u-boot/digi-u-boot.inc b/meta-digi-arm/recipes-bsp/u-boot/digi-u-boot.inc index 8bcb2a996..279082c75 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/digi-u-boot.inc +++ b/meta-digi-arm/recipes-bsp/u-boot/digi-u-boot.inc @@ -153,10 +153,10 @@ do_deploy_append() { sed -i -e 's,##GRAPHICAL_BACKEND##,${GRAPHICAL_BACKEND},g' ${WORKDIR}/install_linux_fw_sd.txt mkimage -T script -n "DEY firmware install script" -C none -d ${WORKDIR}/install_linux_fw_sd.txt ${DEPLOYDIR}/install_linux_fw_sd.scr - if [ ${@oe.utils.conditional('UBOOT_HAS_FASTBOOT', 'true', '', '', d)} ]; then + if [ "${@oe.utils.conditional('UBOOT_HAS_FASTBOOT', 'true', 'true', '', d)}" = "true" ]; then # DEY firmware install uuu script sed -i -e 's,##GRAPHICAL_BACKEND##,${GRAPHICAL_BACKEND},g' ${WORKDIR}/install_linux_fw_uuu.sh - install 775 ${WORKDIR}/install_linux_fw_uuu.sh ${DEPLOYDIR}/ + install -m 775 ${WORKDIR}/install_linux_fw_uuu.sh ${DEPLOYDIR}/ fi # Boot script for DEY images (reconfigure on-the-fly if TRUSTFENCE is enabled)