diff mbox series

[meta-networking,kirkstone,2/5] openflow: don't overwrite CVE_CHECK_IGNORE

Message ID 20260108074618.2782232-2-skandigraun@gmail.com
State New
Headers show
Series [meta-oe,kirkstone,1/5] php: ignore CVE-2024-3566 | expand

Commit Message

Gyorgy Sarvari Jan. 8, 2026, 7:46 a.m. UTC
The recipe contains two CVE_CHECK_IGNORE declarations, and the second
one overwrites the first one - however the first one is also important.

Instead of overwriting it, just append them to each other. Also, move the
operations closer to each other, so it's easier to see what's going on.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 meta-networking/recipes-protocols/openflow/openflow.inc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-protocols/openflow/openflow.inc b/meta-networking/recipes-protocols/openflow/openflow.inc
index 3c29a5c8cf..2134b57713 100644
--- a/meta-networking/recipes-protocols/openflow/openflow.inc
+++ b/meta-networking/recipes-protocols/openflow/openflow.inc
@@ -18,6 +18,10 @@  CVE_CHECK_IGNORE = "\
     CVE-2015-1612 \
 "
 
+# This CVE is not for this product but cve-check assumes it is
+# because two CPE collides when checking the NVD database
+CVE_CHECK_IGNORE += "CVE-2018-1078"
+
 DEPENDS = "virtual/libc"
 
 PACKAGECONFIG ??= ""
@@ -58,7 +62,3 @@  do_install:append() {
 }
 
 FILES:${PN} += "${nonarch_libdir}/tmpfiles.d"
-
-# This CVE is not for this product but cve-check assumes it is
-# because two CPE collides when checking the NVD database
-CVE_CHECK_IGNORE = "CVE-2018-1078"