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.

(From OE-Core rev: acc9994a77972c49a98aabbfd579973885c95f10)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mikko Rapeli 2017-09-06 14:08:16 +03:00 committed by Richard Purdie
parent 65fd5ce3e6
commit 4efeceb8a6

View 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