]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
image-live.bbclass: print warn when initramfs is invalid rbt/live_warn
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 12 Dec 2017 08:41:07 +0000 (16:41 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Wed, 13 Dec 2017 03:23:12 +0000 (11:23 +0800)
It's a problem when initramfs is invalid, so print warn rather than note.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/classes/image-live.bbclass

index 9f8ff792dffab60ccbaf0c0599f7c73a1b7a0575..1623c15988b0f668ea8cf444873197d2d186f090 100644 (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