diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-10 10:02:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-11 22:39:19 +0100 |
commit | c2b40b0f6d062c5061b11b038fac3b7b1539c688 (patch) | |
tree | e39d92fd0aaf7f1599fd81e8b6fa6f54aad7c9c5 /bitbake/lib/bb/process.py | |
parent | 444592b763eccb336f5634432fc6bcf355d90f18 (diff) | |
download | poky-c2b40b0f6d062c5061b11b038fac3b7b1539c688.tar.gz |
bitbake: build: Handle SystemExit in python tasks correctly
If a python task fails with sys.exit(), we currently see no TaskFailed event.
The high level code does detect the exit code and fail the task but it can
leave the UI inconsistent with log output.
Fix this be intercepting SystemExit explicitly. This makes python
task failures consistent with shell task failures.
(Bitbake rev: 9eee9fd4f2f96789ad2b037e74d561bdc1426856)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/process.py')
0 files changed, 0 insertions, 0 deletions