]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
improve_kernel_cve_report: do not use custom version
authorDaniel Turull <daniel.turull@ericsson.com>
Fri, 4 Jul 2025 13:02:55 +0000 (15:02 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Jul 2025 09:46:57 +0000 (10:46 +0100)
commit3942d40e96989268e8d1030f9d8c3859044d9635
tree4abb82c6174d4e46131b9fd0f8482314eee857c8
parent0beef05be119ea465ba06553a42edea03dfc9fd3
improve_kernel_cve_report: do not use custom version

When using the version specified in cve-summary.json, we need to
remove the suffix containing the custom version to match the
versions from the CVEs.

This patch truncates the version from cve-summary.json to use only
the base version of the kernel.

This is only applicable for kernels where the user has added their
own version.

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/improve_kernel_cve_report.py