mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
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:
parent
65fd5ce3e6
commit
4efeceb8a6
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user