summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Lorenz <philip.lorenz@bmw.de>2025-08-15 11:53:06 +0200
committerSteve Sakoman <steve@sakoman.com>2025-08-22 05:59:54 -0700
commit00ade479effbcd0a8574669252686bccd91a8f14 (patch)
tree4e0e605a8ad41015b785f3f2c140f3413e9d9f2e
parent4d2729b88c96e4d00b0d2650c1a445d12703c690 (diff)
downloadpoky-00ade479effbcd0a8574669252686bccd91a8f14.tar.gz
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. (From OE-Core rev: b3d12589c26f4e86b153bbdcda774985e4e046bd) Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/classes/cve-check.bbclass1
1 files changed, 1 insertions, 0 deletions
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 () {
196 else: 196 else:
197 bb.note("No CVE database found, skipping CVE check") 197 bb.note("No CVE database found, skipping CVE check")
198 198
199 oe.qa.exit_if_errors(d)
199} 200}
200 201
201addtask cve_check before do_build 202addtask cve_check before do_build