]> code.ossystems Code Review - openembedded-core.git/commitdiff
cve-check-tool: change BB_NO_NETWORK error to a warning
authorMikko Rapeli <mikko.rapeli@bmw.de>
Wed, 6 Sep 2017 11:08:16 +0000 (14:08 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Sep 2017 16:30:12 +0000 (17:30 +0100)
It is perfectly fine to execute cve_check tasks against a cached
CVE database during a BB_NO_NETWORK build.

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb

index 4829b118fef9fb8bb1ef4a5d4a27826df6e4b8bd..7b70daa323d8a9d17e4d8344ced9a0cd6a255293 100644 (file)
@@ -30,7 +30,7 @@ CFLAGS_append = " -Wno-error=pedantic"
 
 do_populate_cve_db() {
     if [ "${BB_NO_NETWORK}" = "1" ] ; then
-        bberror "BB_NO_NETWORK is set; Can't update cve-check-tool database, CVEs won't be checked"
+        bbwarn "BB_NO_NETWORK is set; Can't update cve-check-tool database, new CVEs won't be detected"
         return
     fi