diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-11-12 15:23:11 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-19 11:38:16 +0000 |
commit | 79a0585f1bc5d1dc232315d11ad8b62054e12008 (patch) | |
tree | 7c2117bf30ed3d5cd1728f19e944133966235541 /scripts/contrib/patchreview.py | |
parent | 7c03445fb79f812c3f5acc9b7bbc35f5b306e888 (diff) | |
download | poky-79a0585f1bc5d1dc232315d11ad8b62054e12008.tar.gz |
cve-update-nvd2-native: Handle BB_NO_NETWORK and missing db
The custom do_fetch routine is ignoring BB_NO_NETWORK, add a check for this
as the correct behavior for the user is to set:
CVE_DB_UPDATE_INTERVAL = "-1"
If CVE_DB_UPDATE_INTERNAL is set to -1, check that a DB file exists, if not
we need to error so the user can deal with this.
Note, MIRRORs are NOT handled by this code.
(From OE-Core rev: 337c0806d2784d74bee8d6420fb8b4d48795d5fa)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/patchreview.py')
0 files changed, 0 insertions, 0 deletions