mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02: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: 62bd5e8a900d2e04791b1a11ade3f8a3696b9b75) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit e164f931c8b3046a8b6736166f8dd6d92f727d1c) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e5d7b7d802
commit
fe8e1342a6
@@ -92,7 +92,7 @@ build_iso() {
|
||||
for fs in ${INITRD}
|
||||
do
|
||||
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
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user