summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@bmw.de>2017-09-06 14:08:16 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 17:30:29 +0100
commit4efeceb8a672dd9372820daa143903a934e4d20a (patch)
tree55316efe7a08c38da22d3f0dc5079883b9ac8c1a
parent65fd5ce3e6a7e3b469e3f28d7a996299aab642fb (diff)
downloadpoky-4efeceb8a672dd9372820daa143903a934e4d20a.tar.gz
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>
-rw-r--r--meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb2
1 files changed, 1 insertions, 1 deletions
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"
30 30
31do_populate_cve_db() { 31do_populate_cve_db() {
32 if [ "${BB_NO_NETWORK}" = "1" ] ; then 32 if [ "${BB_NO_NETWORK}" = "1" ] ; then
33 bberror "BB_NO_NETWORK is set; Can't update cve-check-tool database, CVEs won't be checked" 33 bbwarn "BB_NO_NETWORK is set; Can't update cve-check-tool database, new CVEs won't be detected"
34 return 34 return
35 fi 35 fi
36 36