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: lucaceresoli/bug-15201-perf-libtraceevent-missing~20085 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acc9994a77972c49a98aabbfd579973885c95f10;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 4829b118fef..7b70daa323d 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