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-02 17:24:37 +0000
commitc8ed2e09478a449c46fa13bee8298b05a902e686 (patch)
tree915862d4441d5fa364ee8ffe8865e8d2ea253f32
parentd151c4274969991ec2de5c0021bc00eaab4298d2 (diff)
downloadpoky-c8ed2e09478a449c46fa13bee8298b05a902e686.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: e164f931c8b3046a8b6736166f8dd6d92f727d1c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.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