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:
Robert Yang
2017-12-13 11:24:05 +08:00
committed by Richard Purdie
parent e5d7b7d802
commit fe8e1342a6

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