]> code.ossystems Code Review - openembedded-core.git/commit
cve-update-db: Catch request.urlopen errors.
authorPierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Wed, 6 Nov 2019 15:37:25 +0000 (17:37 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Nov 2019 20:44:15 +0000 (20:44 +0000)
commitae743789d893e950583014f38f0ad246aa4fe034
treedee7c86e306c9f601874c013ab863f66be7dcb81
parent5d265e84ef47ec6545eaa0fa64b16ccbb9e8a4ea
cve-update-db: Catch request.urlopen errors.

If the NVD url is not accessible, print a warning on top of the CVE
report, and continue. The database will not be fully updated, but
cve_check can still run on the previous database.

(From OE-Core rev: 0325dd72714f0b447558084f481b77f0ec850eed)

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