[yocto] [meta-raspberrypi][PATCH 1/2] sdcard_image-rpi.bbclass: Fix error in conditional test

Samuel Stirtzel s.stirtzel at googlemail.com
Thu Apr 25 05:42:44 PDT 2013


2013/4/25 Paul Barker <paul at paulbarker.me.uk>:
> On 25 April 2013 02:00, seth bollinger <seth.boll at gmail.com> wrote:
>> When the shell tests for rootfs type I was seeing "[[: not found".  I
>> use echo and egrep to test for the xz rootfs type to work around this
>> error.
>>
>
> '[[' should be a bash builtin. What host OS are you using for the build?

It sounds like Ubuntu / dash to me:

samuel at s-stirtzel-linux:~$ dash
$ [[
dash: 1: [[: not found

Or at least dash will produce this error too.


--
Regards
Samuel



More information about the yocto mailing list