The prepended code with the i and j variables clash with similar code in 
uboot.inc, so they need to be unset once we are done using them.

This commit fixes the issue that was introduced in d6858c9 "u-boot: Rework 
signing to remove interdependencies".

Signed-off-by: David Bagonyi <david.bago...@gmail.com>
---
 meta/classes-recipe/uboot-sign.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes-recipe/uboot-sign.bbclass 
b/meta/classes-recipe/uboot-sign.bbclass
index 3dc029c429..3065c54577 100644
--- a/meta/classes-recipe/uboot-sign.bbclass
+++ b/meta/classes-recipe/uboot-sign.bbclass
@@ -149,7 +149,7 @@ deploy_dtb() {
        fi
 
        if [ -f "${UBOOT_NODTB_BINARY}" ]; then
-               install -Dm644 ${UBOOT_DTB_BINARY} 
${DEPLOYDIR}/${uboot_nodtb_binary}
+               install -Dm644 ${UBOOT_NODTB_BINARY} 
${DEPLOYDIR}/${uboot_nodtb_binary}
                if [ -n "${type}" ]; then
                        ln -sf ${uboot_nodtb_binary} 
${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}
                fi
@@ -407,7 +407,9 @@ do_deploy:prepend() {
                                        deploy_helper ${type}
                                fi
                        done
+                       unset j
                done
+               unset i
        else
                cd ${B}
                deploy_helper ""
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#173423): 
https://lists.openembedded.org/g/openembedded-core/message/173423
Mute This Topic: https://lists.openembedded.org/mt/95089638/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to