Great, the "bitbake universe --runall=fetch" works now.
// Robert
On 7/8/19 4:14 PM, Pierre Le Magourou wrote:
From: Pierre Le Magourou <[email protected]>
Signed-off-by: Pierre Le Magourou <[email protected]>
---
meta/recipes-core/meta/cve-update-db.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-core/meta/cve-update-db.bb
b/meta/recipes-core/meta/cve-update-db.bb
index ae8f1a958b..cfeee91c2e 100644
--- a/meta/recipes-core/meta/cve-update-db.bb
+++ b/meta/recipes-core/meta/cve-update-db.bb
@@ -13,6 +13,11 @@ deltask do_compile
deltask do_install
deltask do_populate_sysroot
+python () {
+ if not d.getVar("CVE_CHECK_DB_FILE"):
+ raise bb.parse.SkipRecipe("Skip recipe when cve-check class is not
loaded.")
+}
+
python do_populate_cve_db() {
"""
Update NVD database with json data feed
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core