]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cve-update-nvd2-native: Add an age threshold for incremental update
authorYoann Congal <yoann.congal@smile.fr>
Wed, 13 Mar 2024 15:13:27 +0000 (16:13 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 15 Mar 2024 15:07:18 +0000 (05:07 -1000)
commit665c880ff8be1b18c2abe8fa878643dfa64b7d3d
tree4cdd582fd35f0636cd846c6d355e1c4938c54a97
parent0c2e186e1ed8a904945066672e8e2af8b2ea284c
cve-update-nvd2-native: Add an age threshold for incremental update

Add a new variable "CVE_DB_INCR_UPDATE_AGE_THRES", which can be used to
specify the maximum age of the database for doing an incremental update
For older databases, a full re-download is done.

With a value of "0", this forces a full-redownload.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74c1765111b6610348eae4b7e41d7045ce58ef86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/meta/cve-update-nvd2-native.bb