It's a problem when initramfs is invalid, so print warn rather than note.

Signed-off-by: Robert Yang <liezhi.y...@windriver.com>
---
 meta/classes/image-live.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index 9f8ff79..1623c15 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
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to