summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2012-09-26 12:55:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-26 15:02:26 +0100
commitfd464e0886a26b8a1d80b6f6277f62099dc61e69 (patch)
tree2a8068eb25cf650d253df803f46ef73d17aa5bf5 /meta
parent0c340611de8a721b6e4ccf836f28bada16b8425f (diff)
downloadpoky-fd464e0886a26b8a1d80b6f6277f62099dc61e69.tar.gz
package_ipk: Remove spurious '-i' in grep command for log_check
ipk_log_check uses a case-sensitive grep (which is correct) when deciding whether there were any errors or not. But if it decides that there were, it then uses a case-insensitive grep to display them. This results in a large amount of irrelevant and confusing output which makes it hard to see the real errors amongst the noise. Suppress this by removing the unwanted -i. (From OE-Core rev: 57dcacbd6f35ae2d6b505f044bbefad35da66959) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package_ipk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index efe299eec8..59cb856847 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -182,7 +182,7 @@ ipk_log_check() {
182 then 182 then
183 echo "log_check: There were error messages in the logfile" 183 echo "log_check: There were error messages in the logfile"
184 printf "log_check: Matched keyword: [$keyword_die]\n\n" 184 printf "log_check: Matched keyword: [$keyword_die]\n\n"
185 echo "$lf_txt" | grep -v log_check | grep -C 5 -i "$keyword_die" 185 echo "$lf_txt" | grep -v log_check | grep -C 5 "$keyword_die"
186 echo "" 186 echo ""
187 do_exit=1 187 do_exit=1
188 fi 188 fi