Skip to contentSkip to conversation

lib: oe: cve_check: Mark variable flag dependencies

PATCH New Joshua Watt 1 participant 1 message Apr 14, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib: oe: cve_check: Mark variable flag dependencies

Marks CVE check functions which depend on non-constant variable flags as depending on the variables. This allows changes in the flags to correctly trigger a rebuild

---
 meta/lib/oe/cve_check.py | 2 ++
 1 file changed, 2 insertions(+)
meta/lib/oe/cve_check.py +2 -0
index 5c272ba4ff3..5ace3cf5533 100644
@@ -153,6 +153,7 @@ def parse_cves_from_patch_file(patch_file):
     return cve_ids
 
 
[email protected]("CVE_STATUS")
 def get_patched_cves(d):
     """
     Determines the CVE IDs that have been solved by either patches incuded within
@@ -289,6 +290,7 @@ def convert_cve_version(version):
 
     return version + update
 
[email protected]("CVE_STATUS", "CVE_CHECK_STATUSMAP")
 def decode_cve_status(d, cve):
     """
     Convert CVE_STATUS into status, vendor, product, detail and description.
Signature · 1 line
2.49.0