1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +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:
Robert Yang
2017-12-13 11:24:05 +08:00
committed by Richard Purdie
parent d151c42749
commit c8ed2e0947
+1 -1
View File
@@ -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