mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
c095ae793f
commit
0ed51cf434
|
@ -153,6 +153,7 @@ def parse_cves_from_patch_file(patch_file):
|
||||||
return cve_ids
|
return cve_ids
|
||||||
|
|
||||||
|
|
||||||
|
@bb.parse.vardeps("CVE_STATUS")
|
||||||
def get_patched_cves(d):
|
def get_patched_cves(d):
|
||||||
"""
|
"""
|
||||||
Determines the CVE IDs that have been solved by either patches incuded within
|
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
|
return version + update
|
||||||
|
|
||||||
|
@bb.parse.vardeps("CVE_STATUS", "CVE_CHECK_STATUSMAP")
|
||||||
def decode_cve_status(d, cve):
|
def decode_cve_status(d, cve):
|
||||||
"""
|
"""
|
||||||
Convert CVE_STATUS into status, vendor, product, detail and description.
|
Convert CVE_STATUS into status, vendor, product, detail and description.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user