]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cve-check: Add missing call to exit_if_errors
authorPhilip Lorenz <philip.lorenz@bmw.de>
Fri, 15 Aug 2025 09:53:06 +0000 (11:53 +0200)
committerSteve Sakoman <steve@sakoman.com>
Mon, 18 Aug 2025 14:48:36 +0000 (07:48 -0700)
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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/cve-check.bbclass

index 6b8376bf17e9328b0309698cff7147a1fdcba34f..d08c6ac670cf05bf04951c38d76583cedfe90658 100644 (file)
@@ -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