diff options
author | Alexander Kanavin <alex@linutronix.de> | 2025-10-07 14:46:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-07 13:53:07 +0100 |
commit | b3e4fdec12813ae63d01bba275df84a07dd6720e (patch) | |
tree | 7f58872a2aa046793032f1926294fa1d3596bd6b /scripts/lib/build_perf | |
parent | 49e0316eff389ced67a12aa4261876e4c6299ae4 (diff) | |
download | poky-b3e4fdec12813ae63d01bba275df84a07dd6720e.tar.gz |
runqemu: ensure that bitbake environment is either returned, or an exception is raised
This eliminates the other remaining code path where environment getter
returns 'nothing'. This and the previous patch were tested in a-full,
and no errors occurred [1], which means the code paths that make
use of the function returning nothing are never actually executed
and can be cleaned up (in the following patch).
The rationale is that if environment getter cannot obtain the environment,
it should report that and not sweep the issue under the carpet;
it's up to the caller to handle that situation, or make pre-emptive
checks that avoid calling the environment getter when it is bound to fail.
[1] https://lists.openembedded.org/g/openembedded-core/message/223651
(From OE-Core rev: 22022b86871fee092ada2f307301081842f683cd)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf')
0 files changed, 0 insertions, 0 deletions