]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cve-update-db-native: update the CVE database once a day only
authorMarta Rybczynska <rybczynska@gmail.com>
Mon, 2 May 2022 14:25:35 +0000 (16:25 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 May 2022 16:49:31 +0000 (17:49 +0100)
commit35bccdedadeaba820d58b69fe74ce5e4c1f577e3
tree72b5c1c97f4bcd4e23ba1871d3b7b0af0cd1a084
parent3a43c2a82881688d85238464db371f695e60b572
cve-update-db-native: update the CVE database once a day only

The update of the NVD database was expected to happen once per hour.
However, the database file date changes only if the content was actually
updated. In practice, the check worked for the first hour after the
new download.

As the NVD database changes usually only once a day, we can just
update it less frequently.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/cve-update-db-native.bb