summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/meta/cve-update-db-native.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/meta/cve-update-db-native.bb')
-rw-r--r--meta/recipes-core/meta/cve-update-db-native.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/cve-update-db-native.bb b/meta/recipes-core/meta/cve-update-db-native.bb
index d658c7bfea..e16c41a72f 100644
--- a/meta/recipes-core/meta/cve-update-db-native.bb
+++ b/meta/recipes-core/meta/cve-update-db-native.bb
@@ -13,6 +13,11 @@ deltask do_compile
13deltask do_install 13deltask do_install
14deltask do_populate_sysroot 14deltask do_populate_sysroot
15 15
16python () {
17 if not d.getVar("CVE_CHECK_DB_FILE"):
18 raise bb.parse.SkipRecipe("Skip recipe when cve-check class is not loaded.")
19}
20
16python do_populate_cve_db() { 21python do_populate_cve_db() {
17 """ 22 """
18 Update NVD database with json data feed 23 Update NVD database with json data feed