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 <Jose.DiazdeGrenu@digi.com>
This commit is contained in:
Diaz de Grenu, Jose 2016-07-21 11:38:01 +02:00
parent 5ee4340942
commit 84cad4e4ad
1 changed files with 1 additions and 1 deletions

View File

@ -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}"