ovmf: set CVE_PRODUCT and CVE_VERSION
PATCH 1/1 ovmf: set CVE_PRODUCT and CVE_VERSION
From: Chen Qi <[email protected]>
Set CVE_PRODUCT and CVE_VERSION for ovmf. NVD uses 'edk2' and the version should be the date only. Here's an example:
https://nvd.nist.gov/vuln/detail/CVE-2023-45232
Signed-off-by Chen Qi <[email protected]>
--- meta/recipes-core/ovmf/ovmf_git.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-core/ovmf/ovmf_git.bb +3 -0
@@ -30,6 +30,9 @@ PV = "edk2-stable202308" SRCREV = "819cfc6b42a68790a23509e4fcc58ceb70e1965e" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>edk2-stable.*)" +CVE_PRODUCT = "edk2" +CVE_VERSION = "202308" + inherit deploy PARALLEL_MAKE = ""
Signature · 1 line
2.34.1
Quoted 1 line · Chen Qi via lists.openembedded.org
+CVE_VERSION = "202308"
This will almost certainly become mismatched with PV on version updates, so please set from PV with a helper function.
Alex