diff options
author | Yoann Congal <yoann.congal@smile.fr> | 2025-10-02 12:09:24 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-07 13:53:07 +0100 |
commit | e25e7b3086ecaff4b40688b6436506e9aa616a55 (patch) | |
tree | 79efa3dc459e39502931bf6f15bba94480e21c63 /scripts/lib/devtool/deploy.py | |
parent | 8f7343d062fd091626eee47b39512323dbe4838b (diff) | |
download | poky-e25e7b3086ecaff4b40688b6436506e9aa616a55.tar.gz |
bitbake: bitbake-setup: dash support for init-build-env script
Being minimalist, dash does not support the (non-POSIX) feature of
passing an argument while sourcing a script. Like in
. <some path>/oe-init-build-env <build dir>
With dash, one must use:
set <build dir> # puts <build dir> in $1
cd <some path>
. ./oe-init-build-env # can only be called from its directory in dash
To do this:
* Instead of a symlink to oe-init-build-env, keep a symlink to the
directory containing it (called "oe-init-build-env-dir")
* Generate a init-build-env script that dash can source using the above
snippet.
(Bitbake rev: d77386e6ab155081ff3bef2aab413ff8061e83a5)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/deploy.py')
0 files changed, 0 insertions, 0 deletions