diff options
author | Vincent Génieux <vincent2014@startigen.fr> | 2015-01-12 23:10:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-11 17:40:08 +0000 |
commit | 00af07c6b6e353152bc5cf5e7362d0b89c447ebc (patch) | |
tree | c24521b3aff1f446bc0410abf3ed38db8272bad2 /meta/classes | |
parent | f30d619a63f19bc48196680586fa9f70df4c0512 (diff) | |
download | poky-00af07c6b6e353152bc5cf5e7362d0b89c447ebc.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)
(From OE-Core rev: 574f27be14a0f0be6a96e097903704c3492620a7)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 70ed95bbe0..2a6ec34c36 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -403,7 +403,7 @@ do_strip() { | |||
403 | gawk '{print $1}'` | 403 | gawk '{print $1}'` |
404 | 404 | ||
405 | for str in ${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}; do { | 405 | for str in ${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}; do { |
406 | if [[ "$headers" != *"$str"* ]]; then | 406 | if [ "$headers" != *"$str"* ]; then |
407 | bbwarn "Section not found: $str"; | 407 | bbwarn "Section not found: $str"; |
408 | fi | 408 | fi |
409 | 409 | ||