1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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>
This commit is contained in:
Pierre Le Magourou
2019-07-08 10:59:28 +02:00
committed by Richard Purdie
parent 96b1062476
commit 151c13d3aa
@@ -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