summaryrefslogtreecommitdiffstats
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-06 10:13:57 +0000
commitfe8e1342a6171293bf5dc2d6faed874b806935a8 (patch)
tree2ccc87c6f9f0493feda1ab6b83389b376979fb5d
parente5d7b7d80210f45ad1575dd8b38d84a8b3c843f1 (diff)
downloadpoky-fe8e1342a6171293bf5dc2d6faed874b806935a8.tar.gz
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>
-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 7a388d5c60..8ec6af0f6b 100644
--- a/meta/classes/image-live.bbclass
+++ b/meta/classes/image-live.bbclass
@@ -92,7 +92,7 @@ build_iso() {
92 for fs in ${INITRD} 92 for fs in ${INITRD}
93 do 93 do
94 if [ ! -s "$fs" ]; then 94 if [ ! -s "$fs" ]; then
95 bbnote "ISO image will not be created. $fs is invalid." 95 bbwarn "ISO image will not be created. $fs is invalid."
96 return 96 return
97 fi 97 fi
98 done 98 done