diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2024-03-05 22:54:43 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-04 14:05:03 +0100 |
commit | fa6c4f014a5cd4d10b266d9e08842db107d52aaa (patch) | |
tree | d17ab50cb4752b89f9fd4740cae18709f86c52c8 /meta/recipes-core | |
parent | 30d88a20432d2ddca555c9b6690450b260e523ec (diff) | |
download | poky-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.bb | 3 |
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" | |||
30 | SRCREV = "819cfc6b42a68790a23509e4fcc58ceb70e1965e" | 30 | SRCREV = "819cfc6b42a68790a23509e4fcc58ceb70e1965e" |
31 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>edk2-stable.*)" | 31 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>edk2-stable.*)" |
32 | 32 | ||
33 | CVE_PRODUCT = "edk2" | ||
34 | CVE_VERSION = "${@d.getVar('PV').split('stable')[1]}" | ||
35 | |||
33 | inherit deploy | 36 | inherit deploy |
34 | 37 | ||
35 | PARALLEL_MAKE = "" | 38 | PARALLEL_MAKE = "" |