aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-12-13 11:24:05 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-02 17:24:13 +0000
commite164f931c8b3046a8b6736166f8dd6d92f727d1c (patch)
tree3a1b301af8f081f502bd54391e2a3a51a1bd6b54
parent843fccd46323268252ea698e3b8ab956dd4b48e0 (diff)
downloadopenembedded-core-e164f931c8b3046a8b6736166f8dd6d92f727d1c.zip
openembedded-core-e164f931c8b3046a8b6736166f8dd6d92f727d1c.tar.gz
openembedded-core-e164f931c8b3046a8b6736166f8dd6d92f727d1c.tar.bz2
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@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.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 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