[oe-commits] [openembedded-core] 17/38: image-live.bbclass: print warn when initramfs is invalid

git at git.openembedded.org git at git.openembedded.org
Thu Dec 21 16:27:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 86869cb4aede8a240b36ec2e0cd5c75a4c8fb8cd
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: 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.
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.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 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list