From: Robert Yang Date: Wed, 13 Dec 2017 03:24:05 +0000 (+0800) Subject: image-live.bbclass: print warn when initramfs is invalid X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=62bd5e8a900d2e04791b1a11ade3f8a3696b9b75;p=openembedded-core.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 Signed-off-by: Ross Burton (cherry picked from commit e164f931c8b3046a8b6736166f8dd6d92f727d1c) Signed-off-by: Armin Kuster --- diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index 7a388d5c60..8ec6af0f6b 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