Message ID | 20250815095306.3034821-1-philip.lorenz@bmw.de |
---|---|
State | New |
Headers | show |
Series | [scarthgap] cve-check: Add missing call to exit_if_errors | expand |
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 6b8376bf17e..d08c6ac670c 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass @@ -196,6 +196,7 @@ python do_cve_check () { else: bb.note("No CVE database found, skipping CVE check") + oe.qa.exit_if_errors(d) } addtask cve_check before do_build
check_cves may raise the cve_status_not_in_db QA check. Call exit_if_errors to make sure that the task is marked as failed when the check is categorized as an error. cve_status_not_in_db was in the meantime dropped in OE-Core 452e605b55ad61c08f4af7089a5a9c576ca28f7d so this change is only required on scarthgap. Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de> --- meta/classes/cve-check.bbclass | 1 + 1 file changed, 1 insertion(+)