diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-11-12 15:23:11 -0600 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-01-13 05:49:08 -0800 |
commit | 3e7489546cf7c392f8a064e18b052b7746ba75b4 (patch) | |
tree | 0672e12bd752d269b239813866d3a7432577ade4 /documentation/set_versions.py | |
parent | e5b1aa3792e1a162ab584641cbe32d41d1b37c26 (diff) | |
download | poky-3e7489546cf7c392f8a064e18b052b7746ba75b4.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: 2bc4623a910dfa3a22cd054ea1e0f2dd59d74eea)
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>
(cherry picked from commit 337c0806d2784d74bee8d6420fb8b4d48795d5fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/set_versions.py')
0 files changed, 0 insertions, 0 deletions