aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-12-12 16:41:07 +0800
committerRobert Yang <liezhi.yang@windriver.com>2017-12-13 11:23:12 +0800
commitff16df0e21182203372d05e38bb295775745bf7f (patch)
treef8c3879d57aa2a557fc96e0e5bdc0556de075a08
parentba274d3c3832b5add3e599a5f350aafeb81c3cfb (diff)
downloadopenembedded-core-contrib-rbt/live_warn.tar.gz
openembedded-core-contrib-rbt/live_warn.tar.bz2
openembedded-core-contrib-rbt/live_warn.zip
image-live.bbclass: print warn when initramfs is invalidrbt/live_warn
It's a problem when initramfs is invalid, so print warn rather than note. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/classes/image-live.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index 9f8ff792df..1623c15988 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