]> code.ossystems Code Review - openembedded-core.git/commit
devtool: force use of bash when running build within extensible SDK
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 20 Apr 2015 16:47:05 +0000 (17:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Apr 2015 10:05:56 +0000 (11:05 +0100)
commit27942f546e6b08cdf9f2dbda2e24d237cde7f5f5
tree995d892d7fbc39e8a9c3e3e733e93db0d4b664ec
parent7eba8ba126e8757d0b1d5c3a758748e42c3646ff
devtool: force use of bash when running build within extensible SDK

Ubuntu's default dash shell causes oe-init-build-env to behave a bit
differently - (a) it can't pick up the OE root directory and (b) it
can't see any build directory specified as a command-line argument
(since dash doesn't pass through any arguments specified to sourced
scripts). We could work around these but doing so requires some internal
knowledge of the script; a much simpler fix is just to force running the
command under bash since it's expected to be installed on every distro.

Thanks to Chen Qi <Qi.Chen@windriver.com> for this fix.

Fixes [YOCTO #7614].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/__init__.py