summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/meta
diff options
context:
space:
mode:
authorPierre Le Magourou <pierre.lemagourou@softbankrobotics.com>2019-07-08 10:59:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-10 09:56:22 +0100
commit151c13d3aacca5235ee74584155dd45e7c9ccfff (patch)
tree0773fa25511791c9f1b9903cce93cbb30fa76f6a /meta/recipes-core/meta
parent96b1062476cb15e989e9b3dc95469942f0de9211 (diff)
downloadpoky-151c13d3aacca5235ee74584155dd45e7c9ccfff.tar.gz
cve-update-db-native: Skip recipe when cve-check class is not loaded.
(From OE-Core rev: c807c2a6409e122599196cd914a638b00121cab6) Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/meta')
-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