]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cve-update-nvd2-native: Add an age threshold for incremental update
authorYoann Congal <yoann.congal@smile.fr>
Mon, 18 Mar 2024 02:21:48 +0000 (16:21 -1000)
committerSteve Sakoman <steve@sakoman.com>
Mon, 18 Mar 2024 21:44:32 +0000 (11:44 -1000)
commitc9a3e5a4ca297249f8fd7380a824dce0c407280b
treee19cc7d255358cab38213d027156b421b59bc50e
parent3ce55e2a1e680de1cd9be735fb766a1366e88a98
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