diff mbox series

vex: drop obsolete conflict check with cve-check class

Message ID 20260616192318.3747046-1-peter.marko@siemens.com
State Under Review
Headers show
Series vex: drop obsolete conflict check with cve-check class | expand

Commit Message

Peter Marko June 16, 2026, 7:23 p.m. UTC
From: Peter Marko <peter.marko@siemens.com>

cve-check class was removed, so this check is obsolete.

From commit message introducing vex class it's not clear why this check
is present, but presumably to not extend the cve status multiple times.
Thas is no longer possible since commit
45e18f4270d084d81c21b1e5a4a601ce975d8a77 introduced sanity check to
prevent that from happening.
Therefore it's also not necessary to rewrite this check to new
sbom-cve-check(-recipe) classes.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta/classes/vex.bbclass | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/meta/classes/vex.bbclass b/meta/classes/vex.bbclass
index 71be705fc1..b3c2aca762 100644
--- a/meta/classes/vex.bbclass
+++ b/meta/classes/vex.bbclass
@@ -73,9 +73,6 @@  CVE_CHECK_LAYER_INCLUDELIST ??= ""
 CVE_VERSION_SUFFIX ??= ""
 
 python () {
-    if bb.data.inherits_class("cve-check", d):
-        raise bb.parse.SkipRecipe("Skipping recipe: found incompatible combination of cve-check and vex enabled at the same time.")
-
     from oe.cve_check import extend_cve_status
     extend_cve_status(d)
 }