diff options
| author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-09-07 23:42:15 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-09-16 06:09:56 -0700 |
| commit | 974b2c387142b26f7d474221cb1446ad73d4ff2f (patch) | |
| tree | dc3a029f03c0aa35784de31b0bc4e15b52d3605c /meta/recipes-kernel | |
| parent | df56ba7ec8c9b5a889af669071507f1310e424e5 (diff) | |
| download | poky-974b2c387142b26f7d474221cb1446ad73d4ff2f.tar.gz | |
cve-exclusion: Drop the version comparision/warning
Since the CVE repository is no longer being updated, drop the warning
comparision since it is no longer valid.
(From OE-Core rev: 73336ee2416b78ef8ec6c9a16d4371488233610c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-kernel')
| -rw-r--r-- | meta/recipes-kernel/linux/cve-exclusion_5.10.inc | 14 | ||||
| -rw-r--r-- | meta/recipes-kernel/linux/cve-exclusion_5.15.inc | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/meta/recipes-kernel/linux/cve-exclusion_5.10.inc b/meta/recipes-kernel/linux/cve-exclusion_5.10.inc index 4d959c90b1..4ce0664c0d 100644 --- a/meta/recipes-kernel/linux/cve-exclusion_5.10.inc +++ b/meta/recipes-kernel/linux/cve-exclusion_5.10.inc | |||
| @@ -2,13 +2,13 @@ | |||
| 2 | # Auto-generated CVE metadata, DO NOT EDIT BY HAND. | 2 | # Auto-generated CVE metadata, DO NOT EDIT BY HAND. |
| 3 | # Generated at 2024-02-21 03:55:27.305577 for version 5.10.209 | 3 | # Generated at 2024-02-21 03:55:27.305577 for version 5.10.209 |
| 4 | 4 | ||
| 5 | python check_kernel_cve_status_version() { | 5 | #python check_kernel_cve_status_version() { |
| 6 | this_version = "5.10.209" | 6 | # this_version = "5.10.209" |
| 7 | kernel_version = d.getVar("LINUX_VERSION") | 7 | # kernel_version = d.getVar("LINUX_VERSION") |
| 8 | if kernel_version != this_version: | 8 | # if kernel_version != this_version: |
| 9 | bb.warn("Kernel CVE status needs updating: generated for %s but kernel is %s" % (this_version, kernel_version)) | 9 | # bb.warn("Kernel CVE status needs updating: generated for %s but kernel is %s" % (this_version, kernel_version)) |
| 10 | } | 10 | #} |
| 11 | do_cve_check[prefuncs] += "check_kernel_cve_status_version" | 11 | #do_cve_check[prefuncs] += "check_kernel_cve_status_version" |
| 12 | 12 | ||
| 13 | # fixed-version: Fixed after version 2.6.12rc2 | 13 | # fixed-version: Fixed after version 2.6.12rc2 |
| 14 | CVE_CHECK_IGNORE += "CVE-2003-1604" | 14 | CVE_CHECK_IGNORE += "CVE-2003-1604" |
diff --git a/meta/recipes-kernel/linux/cve-exclusion_5.15.inc b/meta/recipes-kernel/linux/cve-exclusion_5.15.inc index f5ccf2bc22..1f5c783db4 100644 --- a/meta/recipes-kernel/linux/cve-exclusion_5.15.inc +++ b/meta/recipes-kernel/linux/cve-exclusion_5.15.inc | |||
| @@ -2,13 +2,13 @@ | |||
| 2 | # Auto-generated CVE metadata, DO NOT EDIT BY HAND. | 2 | # Auto-generated CVE metadata, DO NOT EDIT BY HAND. |
| 3 | # Generated at 2024-05-02 12:18:54.390781 for version 5.15.157 | 3 | # Generated at 2024-05-02 12:18:54.390781 for version 5.15.157 |
| 4 | 4 | ||
| 5 | python check_kernel_cve_status_version() { | 5 | #python check_kernel_cve_status_version() { |
| 6 | this_version = "5.15.157" | 6 | # this_version = "5.15.157" |
| 7 | kernel_version = d.getVar("LINUX_VERSION") | 7 | # kernel_version = d.getVar("LINUX_VERSION") |
| 8 | if kernel_version != this_version: | 8 | # if kernel_version != this_version: |
| 9 | bb.warn("Kernel CVE status needs updating: generated for %s but kernel is %s" % (this_version, kernel_version)) | 9 | # bb.warn("Kernel CVE status needs updating: generated for %s but kernel is %s" % (this_version, kernel_version)) |
| 10 | } | 10 | #} |
| 11 | do_cve_check[prefuncs] += "check_kernel_cve_status_version" | 11 | #do_cve_check[prefuncs] += "check_kernel_cve_status_version" |
| 12 | 12 | ||
| 13 | # fixed-version: Fixed after version 2.6.12rc2 | 13 | # fixed-version: Fixed after version 2.6.12rc2 |
| 14 | CVE_CHECK_IGNORE += "CVE-2003-1604" | 14 | CVE_CHECK_IGNORE += "CVE-2003-1604" |
