]> code.ossystems Code Review - openembedded-core.git/commit
cve-update-db: do_populate_cve_db depends on do_fetch
authorPierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Thu, 27 Jun 2019 14:59:17 +0000 (16:59 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Jun 2019 12:28:32 +0000 (13:28 +0100)
commit975793e3825a2a9ca6dc0e43577f680214cb7993
treef796d1e44347395390753524d97479e12dd607a6
parentf65013af8e556b8e56001fae147aac890fb1836c
cve-update-db: do_populate_cve_db depends on do_fetch

To be able to populate NVD database on a fetchall
(bitbake <image> --run-all=fetch), set the do_populate_cve_db task to be
executed before do_fetch.

Do not get CVE_CHECK_DB_DIR, CVE_CHECK_DB_FILE and CVE_CHECK_TMP_FILE
variable because do_populate_cve_db can be called in a context where
cve-check class is not loaded.

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/cve-update-db.bb