summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-29 16:51:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-02 16:47:45 +0100
commit91a077282fb703e56c3c48b5d9d363a98d85d410 (patch)
tree727ae4b525a61c5c8e7cccc9d955aa67a442f18e /meta
parent4147d2e52f528d0dd9079da9a785ec637e2d67d5 (diff)
downloadpoky-91a077282fb703e56c3c48b5d9d363a98d85d410.tar.gz
package_deb: When searching for E:, anchor expression
If we don't do this it will match on expressions like "NOTE:" which are not fatal errors. (From OE-Core rev: 8f4e160ce0b0c755545d62b06db14decd45b9f1e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package_deb.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 0a3e976ff7..0a8dc1bd7e 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -187,7 +187,7 @@ deb_log_check() {
187 lf_path="$2" 187 lf_path="$2"
188 188
189 lf_txt="`cat $lf_path`" 189 lf_txt="`cat $lf_path`"
190 for keyword_die in "E:" 190 for keyword_die in "^E:"
191 do 191 do
192 if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1 192 if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
193 then 193 then