Skip to contentSkip to conversation

image-live.bbclass: print warn when initramfs is invalid

PATCH New Robert Yang 1 participant 2 messages Dec 13, 2017

lore
Share & tools
lore
#0 lore raw

cover image-live.bbclass: print warn when initramfs is invalid

The following changes since commit ba274d3c3832b5add3e599a5f350aafeb81c3cfb:

image-live.bbclass: add MLPREFIX to core-image-minimal-initramfs (2017-12-13 10:44:31 +0800)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/live_warn
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/live_warn

Robert Yang (1):
image-live.bbclass: print warn when initramfs is invalid

 meta/classes/image-live.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 image-live.bbclass: print warn when initramfs is invalid

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

---
 meta/classes/image-live.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/image-live.bbclass +1 -1
index 9f8ff79..1623c15 100644
@@ -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
Signature · 1 line
2.7.4