summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>2019-11-19 22:07:53 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2019-11-19 19:38:07 -0300
commit0be39721cea6e04c589a419f4bb07fabd0da6704 (patch)
treeb5ec13db4c2ccfe4b5aa044726911406b835eb92
parentdfc6944b1c5ffe2cb1e43483ce56c343e9a06fae (diff)
downloadmeta-freescale-0be39721cea6e04c589a419f4bb07fabd0da6704.tar.gz
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 <andrey.zhizhikin@leica-geosystems.com>
-rw-r--r--recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb2
1 files changed, 2 insertions, 0 deletions
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
10 10
11PV .= "+git${SRCPV}" 11PV .= "+git${SRCPV}"
12 12
13CVE_VERSION = "${KERNEL_VERSION}"
14
13SRCBRANCH = "4.9-1.0.x-imx" 15SRCBRANCH = "4.9-1.0.x-imx"
14SRCREV = "953c6e30c9701fda69ef08e2476c541dc4fb1453" 16SRCREV = "953c6e30c9701fda69ef08e2476c541dc4fb1453"
15SRC_URI += "file://0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch \ 17SRC_URI += "file://0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch \