From: Andrey Zhizhikin Date: Tue, 19 Nov 2019 22:07:53 +0000 (+0000) Subject: linux-fslc-imx_4.9: resolve version for cve scans X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0be39721cea6e04c589a419f4bb07fabd0da6704;p=meta-freescale.git 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 --- 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 \