summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2024-03-05 22:54:43 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-04 14:05:03 +0100
commitfa6c4f014a5cd4d10b266d9e08842db107d52aaa (patch)
treed17ab50cb4752b89f9fd4740cae18709f86c52c8 /meta/recipes-core
parent30d88a20432d2ddca555c9b6690450b260e523ec (diff)
downloadpoky-fa6c4f014a5cd4d10b266d9e08842db107d52aaa.tar.gz
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/ovmf/ovmf_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb
index 3dc031d3b6..5b1353b8e8 100644
--- a/meta/recipes-core/ovmf/ovmf_git.bb
+++ b/meta/recipes-core/ovmf/ovmf_git.bb
@@ -30,6 +30,9 @@ PV = "edk2-stable202308"
30SRCREV = "819cfc6b42a68790a23509e4fcc58ceb70e1965e" 30SRCREV = "819cfc6b42a68790a23509e4fcc58ceb70e1965e"
31UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>edk2-stable.*)" 31UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>edk2-stable.*)"
32 32
33CVE_PRODUCT = "edk2"
34CVE_VERSION = "${@d.getVar('PV').split('stable')[1]}"
35
33inherit deploy 36inherit deploy
34 37
35PARALLEL_MAKE = "" 38PARALLEL_MAKE = ""