[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6929/8267] kernel.bbclass: set CVE_PRODUCT to linux_kernel if not set by recipe
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 6929/8267] kernel.bbclass: set CVE_PRODUCT to linux_kernel if not set by recipe
- Date: Sun, 17 Dec 2017 05:32:03 +0000 (UTC)
commit 1d9a27d0cd3058cf29f72c9a9aa0ae09b9405448
Author: Mikko Rapeli <mikko rapeli bmw de>
Date: Thu Jul 20 16:23:10 2017 +0300
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>
meta/classes/kernel.bbclass | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 7670c71..ce2cab6 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -6,6 +6,8 @@ PACKAGE_WRITE_DEPS += "depmodwrapper-cross virtual/update-alternatives-native"
do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot"
+CVE_PRODUCT ?= "linux_kernel"
+
S = "${STAGING_KERNEL_DIR}"
B = "${WORKDIR}/build"
KBUILD_OUTPUT = "${B}"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]