[OE-core] [PATCH v2] cve-check-tool: change BB_NO_NETWORK error to a warning
Mikko Rapeli
mikko.rapeli at bmw.de
Wed Sep 6 12:31:09 UTC 2017
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 <mikko.rapeli at bmw.de>
---
meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
v2: send to correct mailing lists: bitbake stuff to bitbake, this to oe-core
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 4829b11..7b70daa 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
--
1.9.1
More information about the Openembedded-core
mailing list