diff options
author | Mikko Rapeli <mikko.rapeli@bmw.de> | 2017-07-20 16:23:09 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-29 11:57:28 +0100 |
commit | 39e40d24903da4681d8ddc4d0270675dbfcecc5f (patch) | |
tree | a28dd33ad3223906ce4f12ab7eca51befe09e1aa /meta | |
parent | 90acac9f21e9ec541e20769581a5f18d84db04ee (diff) | |
download | poky-39e40d24903da4681d8ddc4d0270675dbfcecc5f.tar.gz |
cve-check.bbclass: use weak assignment for default CVE_PRODUCT
This way also bbclasses can override it. For example kernel.bbclass
could set CVE_PRODUCT to linux_kernel for all users of the class
which compile Linux kernels.
(From OE-Core rev: 478b90369c48351193e2bc5e2eb2b5308d55bb2e)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 74672a7de5ada45ab8e25b89cbdea3ec33b63b7f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/cve-check.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 3a9e227288..13ec62ec9b 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | # The product name that the CVE database uses. Defaults to BPN, but may need to | 23 | # The product name that the CVE database uses. Defaults to BPN, but may need to |
24 | # be overriden per recipe (for example tiff.bb sets CVE_PRODUCT=libtiff). | 24 | # be overriden per recipe (for example tiff.bb sets CVE_PRODUCT=libtiff). |
25 | CVE_PRODUCT ?= "${BPN}" | 25 | CVE_PRODUCT ??= "${BPN}" |
26 | 26 | ||
27 | CVE_CHECK_DB_DIR ?= "${DL_DIR}/CVE_CHECK" | 27 | CVE_CHECK_DB_DIR ?= "${DL_DIR}/CVE_CHECK" |
28 | CVE_CHECK_DB_FILE ?= "${CVE_CHECK_DB_DIR}/nvd.db" | 28 | CVE_CHECK_DB_FILE ?= "${CVE_CHECK_DB_DIR}/nvd.db" |