summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorVincent Génieux <vincent2014@startigen.fr>2015-01-12 23:10:01 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-23 11:36:29 +0000
commit98396382384c44f482ac3a02fc36918d1b4cf1ed (patch)
treedf16e6231f714f9fc26980547aa1d6e4dea845b5 /meta/classes/kernel.bbclass
parentc5fb558a1c59830ee10879a27e1c231fa12318dd (diff)
downloadpoky-98396382384c44f482ac3a02fc36918d1b4cf1ed.tar.gz
fix '[[: not found' error message using dash
Remove bash specific syntax '[[ test ]]' replaced with '[ test ]'. Fixes [YOCTO #7112] (From OE-Core rev: f2ff849d5936d3dc5e24301e0620da265df50fea) Signed-off-by: Vincent Génieux <vincent2014@startigen.fr> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 805f7992e0..183769316b 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -378,7 +378,7 @@ do_strip() {
378 gawk '{print $1}'` 378 gawk '{print $1}'`
379 379
380 for str in ${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}; do { 380 for str in ${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}; do {
381 if [[ "$headers" != *"$str"* ]]; then 381 if [ "$headers" != *"$str"* ]; then
382 bbwarn "Section not found: $str"; 382 bbwarn "Section not found: $str";
383 fi 383 fi
384 384