diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2024-09-26 14:25:06 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-10-29 05:51:03 -0700 |
commit | 0c02f87d310895c79b5042efe5ade100581abb41 (patch) | |
tree | 0c3be35ab2a58b5b2db1ef8dda8d34cab692a102 /documentation/ref-manual/variables.rst | |
parent | 9daf5c5cf5abd92ece862682798c55e244e6c0be (diff) | |
download | poky-0c02f87d310895c79b5042efe5ade100581abb41.tar.gz |
image.bbclass: Drop support for ImageQAFailed exceptions in image_qa
After commit 905e224849fbbed1719e0add231b00e2d570b3b4 (image_qa: fix
error handling), any unexpected exceptions in do_image_qa() would result
in a variable being set, but never used, effectively hiding the error.
Since image_qa now calls oe.qa.exit_if_errors(), remove the support for
oe.utils.ImageQAFailed and instead rely on the called functions to call
oe.qa.handle_error() themselves. This matches what do_package_qa() does.
Also update the description of do_image_qa() to explain that the called
functions are expected to call oe.qa.handle_error() themselves.
[ YOCTO #15601 ]
(From OE-Core rev: c00ad42b6a26ceb7a2878ed2c7f6c2821fe513cc)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c3e111c965af2bc56533633c376b70b7fa5e1de)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/ref-manual/variables.rst')
0 files changed, 0 insertions, 0 deletions