From: Mikko Rapeli Date: Wed, 6 Sep 2017 11:08:16 +0000 (+0300) Subject: cve-check-tool: change BB_NO_NETWORK error to a warning X-Git-Tag: 2017-10~299 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=acc9994a77972c49a98aabbfd579973885c95f10;p=openembedded-core.git cve-check-tool: change BB_NO_NETWORK error to a warning 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 Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb b/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb index 4829b118fe..7b70daa323 100644 --- a/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb +++ b/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb @@ -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