diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/meta/cve-update-db-native.bb | 5 |
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 | |||
13 | deltask do_install | 13 | deltask do_install |
14 | deltask do_populate_sysroot | 14 | deltask do_populate_sysroot |
15 | 15 | ||
16 | python () { | ||
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 | |||
16 | python do_populate_cve_db() { | 21 | python do_populate_cve_db() { |
17 | """ | 22 | """ |
18 | Update NVD database with json data feed | 23 | Update NVD database with json data feed |