]> 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>
Wed, 6 Nov 2019 15:37:24 +0000 (17:37 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Nov 2019 20:44:15 +0000 (20:44 +0000)
commit5d265e84ef47ec6545eaa0fa64b16ccbb9e8a4ea
tree2426bc93cc2eba30f72753c969cc9e59d6af31c1
parent3af4399ea35b5c4b87d656f09dd2afed11791f0a
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.

(From OE-Core rev: 975793e3825a2a9ca6dc0e43577f680214cb7993)

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