mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
kernel-fitimage: fix handling of empty default dtb
Fix error in run.do_assemble_fitimage_initramfs.2779256:
line 238: [: =: unary operator expected
if FIT_CONF_DEFAULT_DTB is empty.
(From OE-Core rev: 19a6eea0951404403dcb5d0deeda8558b1337f82)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a285dac7bc
commit
0dfd37f240
@@ -611,7 +611,7 @@ fitimage_assemble() {
|
||||
fi
|
||||
|
||||
# Set the default dtb image if it exists in the devicetree.
|
||||
if [ ${FIT_CONF_DEFAULT_DTB} = $DTB ];then
|
||||
if [ "${FIT_CONF_DEFAULT_DTB}" = "$DTB" ];then
|
||||
default_dtb_image=$(echo "$DTB" | tr '/' '_')
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user