summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@bmw.de>2017-07-20 16:23:10 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-24 09:13:31 +0100
commit1d9a27d0cd3058cf29f72c9a9aa0ae09b9405448 (patch)
treef2a2332a7073fa0e87319a649a1410f1cdfd7ef7
parentedaeec5809b7bb0f1817b92a5e6af6b686598ea5 (diff)
downloadpoky-1d9a27d0cd3058cf29f72c9a9aa0ae09b9405448.tar.gz
kernel.bbclass: set CVE_PRODUCT to linux_kernel if not set by recipe
It is used by NVD database CVE's like: https://nvd.nist.gov/vuln/detail/CVE-2017-7273 Setting this in kernel.bbclass fixes CVE reporting for all users of the class. (From OE-Core rev: 2e3d325440a50265c73f7d2e782530a02458bc33) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 7670c7107a..ce2cab65ae 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -6,6 +6,8 @@ PACKAGE_WRITE_DEPS += "depmodwrapper-cross virtual/update-alternatives-native"
6 6
7do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot" 7do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot"
8 8
9CVE_PRODUCT ?= "linux_kernel"
10
9S = "${STAGING_KERNEL_DIR}" 11S = "${STAGING_KERNEL_DIR}"
10B = "${WORKDIR}/build" 12B = "${WORKDIR}/build"
11KBUILD_OUTPUT = "${B}" 13KBUILD_OUTPUT = "${B}"