diff options
| author | Ross Burton <ross.burton@arm.com> | 2023-09-25 12:55:32 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-26 10:37:17 +0100 |
| commit | 362c70a993ae954834a8deace68b3e4068282698 (patch) | |
| tree | 32fbb49f1d3af22128482e2f029feced6e452c15 /meta/recipes-devtools/python/python3-booleanpy_4.0.bb | |
| parent | 0dbc45e52fea7e7733e863d6afc193f418d733ce (diff) | |
| download | poky-362c70a993ae954834a8deace68b3e4068282698.tar.gz | |
bitbake: bitbake/lib: spawn server/worker using the current Python interpreter
The user may have invoked ./bin/bitbake using a different Python
interpreter than whatever python3 is on $PATH (for example, explicitly
using a different version). However, as the server and workers are
spawned directly they'll use the hashbang and thus a different Python.
We also ensure that argv[0] is set to sys.executable instead of
'bitbake-server' or 'bitbake-worker', so that sys.executable is set to
the right value inside the child. Without this the server won't be
able to start any workers.
(Bitbake rev: b44d5d2a53d3082c8ce94e09c0cf833e33e25aec)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-booleanpy_4.0.bb')
0 files changed, 0 insertions, 0 deletions
