mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
image-live.bbclass: print warn when initramfs is invalid
It's a problem when initramfs is invalid, so print warn rather than note. (From OE-Core rev: e164f931c8b3046a8b6736166f8dd6d92f727d1c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d151c42749
commit
c8ed2e0947
@@ -92,7 +92,7 @@ build_iso() {
|
|||||||
for fs in ${INITRD}
|
for fs in ${INITRD}
|
||||||
do
|
do
|
||||||
if [ ! -s "$fs" ]; then
|
if [ ! -s "$fs" ]; then
|
||||||
bbnote "ISO image will not be created. $fs is invalid."
|
bbwarn "ISO image will not be created. $fs is invalid."
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user