[gnome-continuous-yocto/gnomeostree-3.28-rocko: 58/218] image-live.bbclass: print warn when initramfs is invalid



commit fe8e1342a6171293bf5dc2d6faed874b806935a8
Author: Robert Yang <liezhi yang windriver com>
Date:   Wed Dec 13 11:24:05 2017 +0800

    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>

 meta/classes/image-live.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index 7a388d5..8ec6af0 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]