diff options
author | Ming Liu <liu.ming50@gmail.com> | 2021-05-21 14:12:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-22 09:59:04 +0100 |
commit | 64b736ce0829436d952f0a5672ee03d7dd4642ad (patch) | |
tree | 105a29a65f24a72ade2bdfd92f27455511ae01bf /meta/classes | |
parent | b73c484a58dbbde3989393163fc968f06109823c (diff) | |
download | poky-64b736ce0829436d952f0a5672ee03d7dd4642ad.tar.gz |
kernel-fitimage.bbclass: fix a wrong conditional check
It should check if "${UBOOT_SIGN_ENABLE}" equals to "1" instead of
checking if "${UBOOT_SIGN_ENABLE}" is not empty since it could be "0".
(From OE-Core rev: 900949af7fe357ee66065ba150b0b1914e8ca581)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 5cfd8af99d..993e159c75 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass | |||
@@ -331,7 +331,7 @@ fitimage_emit_section_config() { | |||
331 | 331 | ||
332 | conf_csum="${FIT_HASH_ALG}" | 332 | conf_csum="${FIT_HASH_ALG}" |
333 | conf_sign_algo="${FIT_SIGN_ALG}" | 333 | conf_sign_algo="${FIT_SIGN_ALG}" |
334 | if [ -n "${UBOOT_SIGN_ENABLE}" ] ; then | 334 | if [ "${UBOOT_SIGN_ENABLE}" = "1" ] ; then |
335 | conf_sign_keyname="${UBOOT_SIGN_KEYNAME}" | 335 | conf_sign_keyname="${UBOOT_SIGN_KEYNAME}" |
336 | fi | 336 | fi |
337 | 337 | ||