From fc488b7f1bc53f5dcfe0a60e34c17549c08d4326 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Thu, 16 Feb 2017 13:43:28 +0100 Subject: [PATCH] linux-dey: fix 'do_deploy' failure by removing not needed symlink KERNEL_IMAGE_BASE_NAME and KERNEL_IMAGE_SYMLINK_NAME default values have changed in Yocto 2.2, so now this appended command is failing because it's translated to: ln -sf -4.1-r0.2-ccimx6ulstarter-20170216122147.bin ccimx6ulstarter which fails with: ln: invalid option -- '4' Just remove it, because we don't need that symlink anymore. New U-Boot's 'zimage' and 'uimage' environment variables have default values ending in '.bin' which is what Yocto provides. https://jira.digi.com/browse/DEL-3451 Signed-off-by: Javier Viguera --- meta-digi-arm/recipes-kernel/linux/linux-dey.inc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc index 04584d422..f897fb1ba 100644 --- a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc +++ b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc @@ -26,10 +26,6 @@ S = "${WORKDIR}/git" # machine, with different entry points KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" -do_deploy_append() { - (cd ${DEPLOYDIR} && ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}) -} - do_deploy[postfuncs] += "${@base_conditional('TRUSTFENCE_SIGN', '1', 'trustfence_sign', '', d)}" trustfence_sign() {