From 84cad4e4ade761973f81c51185e65fb9da888666 Mon Sep 17 00:00:00 2001 From: "Diaz de Grenu, Jose" Date: Thu, 21 Jul 2016 11:38:01 +0200 Subject: [PATCH] meta-digi-arm: linux-dey: fix check for uImage signing TRUSTFENCE_SIGN can be defined to "0" to explicitly disable uImage sign and encryption. https://jira.digi.com/browse/DEL-2803 Signed-off-by: Diaz de Grenu, Jose --- meta-digi-arm/recipes-kernel/linux/linux-dey.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc index 725c2485c..19c71f113 100644 --- a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc +++ b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc @@ -33,7 +33,7 @@ UBOOT_CONFIG_LOADADDR_ccimx6 = "0x12000000" UBOOT_CONFIG_LOADADDR_ccimx6ul = "0x80800000" do_deploy_append() { - if [ -n "${TRUSTFENCE_SIGN}" ]; then + if [ "${TRUSTFENCE_SIGN}" = "1" ]; then export CONFIG_SIGN_KEYS_PATH="${TRUSTFENCE_SIGN_KEYS_PATH}" export CONFIG_UIMAGE_LOADADDR="${UBOOT_CONFIG_LOADADDR}" [ -n "${TRUSTFENCE_KEY_INDEX}" ] && export CONFIG_KEY_INDEX="${TRUSTFENCE_KEY_INDEX}"