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-14 11:24:57 +0100 |
| commit | 0c377753492e2559c7c8b26f6b33bacc70c65ee8 (patch) | |
| tree | 8fec19085f9771a5ef7d6f4319935bd337dc378a /scripts/lib/devtool/runqemu.py | |
| parent | 47f6bd30b4088ccad1079f0f012cb39868fee10a (diff) | |
| download | poky-0c377753492e2559c7c8b26f6b33bacc70c65ee8.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: 442b41c7949e1522212b66b16811f6b64b089b23)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions
