From b3d12589c26f4e86b153bbdcda774985e4e046bd Mon Sep 17 00:00:00 2001 From: Philip Lorenz Date: Fri, 15 Aug 2025 11:53:06 +0200 Subject: [PATCH] cve-check: Add missing call to exit_if_errors 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 Signed-off-by: Steve Sakoman --- meta/classes/cve-check.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 6b8376bf17..d08c6ac670 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 -- 2.47.3