diff options
author | Philip Lorenz <philip.lorenz@bmw.de> | 2025-09-11 14:41:30 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-09-19 07:03:31 -0700 |
commit | 6d64cdb02bea36656df82691c93494ee8246937c (patch) | |
tree | c08c03c84a2110a6b838250c5f3c7c56f6b15860 | |
parent | 15535d452d58fa55227d9d6f2048f075bf2b31a0 (diff) | |
download | poky-6d64cdb02bea36656df82691c93494ee8246937c.tar.gz |
insane: Ensure that `src-uri-bad` fails correctly
`src-uri-bad` is missing the required call to `oe.qa.exit_if_errors` so
the corresponding task is not marked as failed when the QA check is
classified as an error.
This issue was fixed by the introduction of the do_recipe_qa task in
OE-core (e0c71367ab59021fc430ef215bbfc3b525036ba4) which is not part
of kirkstone yet.
(From OE-Core rev: 4b593ea8df9b1d3dda0adf38786845168360311f)
Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/classes/insane.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 99340c1752..6b3cc5228a 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -1338,6 +1338,7 @@ python do_qa_unpack() { | |||
1338 | bb.warn('%s: the directory %s (%s) pointed to by the S variable doesn\'t exist - please set S within the recipe to point to where the source has been unpacked to' % (d.getVar('PN'), d.getVar('S', False), s_dir)) | 1338 | bb.warn('%s: the directory %s (%s) pointed to by the S variable doesn\'t exist - please set S within the recipe to point to where the source has been unpacked to' % (d.getVar('PN'), d.getVar('S', False), s_dir)) |
1339 | 1339 | ||
1340 | unpack_check_src_uri(d.getVar('PN'), d) | 1340 | unpack_check_src_uri(d.getVar('PN'), d) |
1341 | oe.qa.exit_if_errors(d) | ||
1341 | } | 1342 | } |
1342 | 1343 | ||
1343 | # The Staging Func, to check all staging | 1344 | # The Staging Func, to check all staging |