mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
u-boot: Fix potential index error issues in do_deploy with multiple u-boot configurations
If i or j have not been unset in do_deploy:prepend functions, images are not correctly copied to DEPLOYDIR. (From OE-Core rev: 5a0764eaac90bd62dac4a387eed5eb68f556412f) Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
226ae9288e
commit
221e778021
@@ -217,6 +217,7 @@ RDEPENDS:${PN} += "${PN}-env"
|
||||
do_deploy () {
|
||||
if [ -n "${UBOOT_CONFIG}" ]
|
||||
then
|
||||
unset i j
|
||||
for config in ${UBOOT_MACHINE}; do
|
||||
i=$(expr $i + 1);
|
||||
for type in ${UBOOT_CONFIG}; do
|
||||
|
||||
Reference in New Issue
Block a user