ovmf: set CVE_PRODUCT and CVE_VERSION

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

(From OE-Core rev: 7d11e4d55c9de23edbf5ba21d7ee007bab20c38a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chen Qi
2024-03-05 22:54:43 -08:00
committed by Richard Purdie
parent 30d88a2043
commit fa6c4f014a

View File

@@ -30,6 +30,9 @@ PV = "edk2-stable202308"
SRCREV = "819cfc6b42a68790a23509e4fcc58ceb70e1965e"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>edk2-stable.*)"
CVE_PRODUCT = "edk2"
CVE_VERSION = "${@d.getVar('PV').split('stable')[1]}"
inherit deploy
PARALLEL_MAKE = ""