[oe-commits] [openembedded-core] 19/39: cve-check.bbclass: use weak assignment for default CVE_PRODUCT

git at git.openembedded.org git at git.openembedded.org
Tue Aug 29 10:58:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch pyro
in repository openembedded-core.

commit 478b90369c48351193e2bc5e2eb2b5308d55bb2e
Author: Mikko Rapeli <mikko.rapeli at bmw.de>
AuthorDate: Thu Jul 20 16:23:09 2017 +0300

    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.
    
    Signed-off-by: Mikko Rapeli <mikko.rapeli at bmw.de>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    (cherry picked from commit 74672a7de5ada45ab8e25b89cbdea3ec33b63b7f)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/classes/cve-check.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index 3a9e227..13ec62e 100644
--- a/meta/classes/cve-check.bbclass
+++ b/meta/classes/cve-check.bbclass
@@ -22,7 +22,7 @@
 
 # The product name that the CVE database uses.  Defaults to BPN, but may need to
 # be overriden per recipe (for example tiff.bb sets CVE_PRODUCT=libtiff).
-CVE_PRODUCT ?= "${BPN}"
+CVE_PRODUCT ??= "${BPN}"
 
 CVE_CHECK_DB_DIR ?= "${DL_DIR}/CVE_CHECK"
 CVE_CHECK_DB_FILE ?= "${CVE_CHECK_DB_DIR}/nvd.db"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list