From: Ralph Siemsen Date: Thu, 9 May 2024 12:42:04 +0000 (-0400) Subject: uboot-sign: fix loop in do_uboot_assemble_fitimage X-Git-Tag: yocto-5.0.2~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0862abfede2680ff8d67c5e9ece2017f594cb8a1;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git uboot-sign: fix loop in do_uboot_assemble_fitimage When using multiple u-boot configurations in UBOOT_CONFIG, the helper function uboot_assemble_fitimage_helper() was not called with all combinations of type & binary, due to a copy-n-paste indexing error. Signed-off-by: Ralph Siemsen Signed-off-by: Richard Purdie (cherry picked from commit 2d338548a4b745a71eaf6c29231adc93c4165778) Signed-off-by: Steve Sakoman --- diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass index 7a0b8047e49..c8e097f2f2b 100644 --- a/meta/classes-recipe/uboot-sign.bbclass +++ b/meta/classes-recipe/uboot-sign.bbclass @@ -367,7 +367,7 @@ do_uboot_assemble_fitimage() { done for binary in ${UBOOT_BINARIES}; do - k=$(expr $j + 1); + k=$(expr $k + 1); if [ $k -eq $i ]; then break; fi