($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Ralph Siemsen <ralph.siemsen@linaro.org>
To: openembedded-core@lists.openembedded.org
Cc: sean.anderson@seco.com, jamin_lin@aspeedtech.com,
	Ralph Siemsen <ralph.siemsen@linaro.org>
Subject: [PATCH] uboot-sign: fix loop in do_uboot_assemble_fitimage
Date: Fri,  3 May 2024 11:18:27 -0400	[thread overview]
Message-ID: <20240503151827.1387077-1-ralph.siemsen@linaro.org> (raw)

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 <ralph.siemsen@linaro.org>
---
 meta/classes-recipe/uboot-sign.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass
index 7a0b8047e4..c8e097f2f2 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
-- 
2.25.1



             reply	other threads:[~2024-05-03 15:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-03 15:18 Ralph Siemsen [this message]
2024-05-03 15:19 ` [PATCH] uboot-sign: fix loop in do_uboot_assemble_fitimage Sean Anderson
2024-05-03 16:44 ` [OE-core] " Quentin Schulz
2024-05-03 17:36   ` Steve Sakoman
2024-05-07 20:50     ` Ralph Siemsen
     [not found]     ` <17CD500B64E4E788.19123@lists.openembedded.org>
2024-05-09 12:49       ` Ralph Siemsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240503151827.1387077-1-ralph.siemsen@linaro.org \
    --to=ralph.siemsen@linaro.org \
    --cc=jamin_lin@aspeedtech.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=sean.anderson@seco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).