From: Robert Yang Date: Tue, 12 Dec 2017 08:41:07 +0000 (+0800) Subject: image-live.bbclass: print warn when initramfs is invalid X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff16df0e21182203372d05e38bb295775745bf7f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git image-live.bbclass: print warn when initramfs is invalid It's a problem when initramfs is invalid, so print warn rather than note. Signed-off-by: Robert Yang --- diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index 9f8ff792dff..1623c15988b 100644 --- a/meta/classes/image-live.bbclass +++ b/meta/classes/image-live.bbclass @@ -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