* [OE-core] [PATCH V2 0/1] RESEND
@ 2021-05-21 12:12 Ming Liu
2021-05-21 12:12 ` [OE-core] [PATCH V2 1/1] kernel-fitimage.bbclass: fix a wrong conditional check Ming Liu
0 siblings, 1 reply; 2+ messages in thread
From: Ming Liu @ 2021-05-21 12:12 UTC (permalink / raw)
To: openembedded-core; +Cc: Ming Liu
From: Ming Liu <liu.ming50@gmail.com>
Fixed a condition check issue
Ming Liu (1):
kernel-fitimage.bbclass: fix a wrong conditional check
meta/classes/kernel-fitimage.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.29.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* [OE-core] [PATCH V2 1/1] kernel-fitimage.bbclass: fix a wrong conditional check
2021-05-21 12:12 [OE-core] [PATCH V2 0/1] RESEND Ming Liu
@ 2021-05-21 12:12 ` Ming Liu
0 siblings, 0 replies; 2+ messages in thread
From: Ming Liu @ 2021-05-21 12:12 UTC (permalink / raw)
To: openembedded-core; +Cc: Ming Liu
From: Ming Liu <liu.ming50@gmail.com>
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".
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
---
meta/classes/kernel-fitimage.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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() {
conf_csum="${FIT_HASH_ALG}"
conf_sign_algo="${FIT_SIGN_ALG}"
- if [ -n "${UBOOT_SIGN_ENABLE}" ] ; then
+ if [ "${UBOOT_SIGN_ENABLE}" = "1" ] ; then
conf_sign_keyname="${UBOOT_SIGN_KEYNAME}"
fi
--
2.29.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-21 12:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21 12:12 [OE-core] [PATCH V2 0/1] RESEND Ming Liu
2021-05-21 12:12 ` [OE-core] [PATCH V2 1/1] kernel-fitimage.bbclass: fix a wrong conditional check Ming Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.