]> 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, 15 May 2015 17:12:08 +0000 (18:12 +0100)
commitf83f108f83766d4c141946084b7c4be730c2865e
tree8729d4a8b6f137eb8a27e93e3f51783380c767c2
parenta00cf56b0caf2327bd85b80c7d0db6f4d8620a36
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].

(From OE-Core rev: 27942f546e6b08cdf9f2dbda2e24d237cde7f5f5)

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