From 0be39721cea6e04c589a419f4bb07fabd0da6704 Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Tue, 19 Nov 2019 22:07:53 +0000 Subject: linux-fslc-imx_4.9: resolve version for cve scans CVE scanner is unable to parse the version of linux kernel recipe, which caused warnings to be produced during the scan task since kernel version was not properly identified. This was caused by the fact that CVE_VERSION is set per default to PV, and PV of this receipe does nto resolve in a proper (and actual) kernel version provided. By setting CVE_VERSION to explicitly point to KERNEL_VERSION, this recipe effectively provides a proper kernel version to CVE scanner. Signed-off-by: Andrey Zhizhikin --- recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb b/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb index 7114cd22..b66d0888 100644 --- a/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb +++ b/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb @@ -10,6 +10,8 @@ include linux-fslc.inc PV .= "+git${SRCPV}" +CVE_VERSION = "${KERNEL_VERSION}" + SRCBRANCH = "4.9-1.0.x-imx" SRCREV = "953c6e30c9701fda69ef08e2476c541dc4fb1453" SRC_URI += "file://0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch \ -- cgit v1.2.3-54-g00ecf