summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2025-04-14 09:47:44 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-16 17:41:30 +0100
commit0ed51cf4347357de1ae9456b182faedeb11fc4a8 (patch)
treec266d61c8b120c5fe513ad3f5a9a0c879d855f77
parentc095ae793f61d19391ebd8cf737356b519b16c43 (diff)
downloadpoky-0ed51cf4347357de1ae9456b182faedeb11fc4a8.tar.gz
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 (From OE-Core rev: 2cc43c72ff28aa39a417dd8d57cd7c8741c0e541) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/cve_check.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/cve_check.py b/meta/lib/oe/cve_check.py
index 5c272ba4ff..5ace3cf553 100644
--- a/meta/lib/oe/cve_check.py
+++ b/meta/lib/oe/cve_check.py
@@ -153,6 +153,7 @@ def parse_cves_from_patch_file(patch_file):
153 return cve_ids 153 return cve_ids
154 154
155 155
156@bb.parse.vardeps("CVE_STATUS")
156def get_patched_cves(d): 157def get_patched_cves(d):
157 """ 158 """
158 Determines the CVE IDs that have been solved by either patches incuded within 159 Determines the CVE IDs that have been solved by either patches incuded within
@@ -289,6 +290,7 @@ def convert_cve_version(version):
289 290
290 return version + update 291 return version + update
291 292
293@bb.parse.vardeps("CVE_STATUS", "CVE_CHECK_STATUSMAP")
292def decode_cve_status(d, cve): 294def decode_cve_status(d, cve):
293 """ 295 """
294 Convert CVE_STATUS into status, vendor, product, detail and description. 296 Convert CVE_STATUS into status, vendor, product, detail and description.