]> 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)
committerSteve Sakoman <steve@sakoman.com>
Mon, 9 May 2022 14:01:07 +0000 (04:01 -1000)
commit27b1cb83ec666cc91930f2a7b5a6282fde77c730
treea2dae7f18695e270ca833737015c0391f42bb2b0
parenta76b642736d78cd4dec0ae264da6d0ffd4e9aaf7
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>
(cherry picked from commit 35bccdedadeaba820d58b69fe74ce5e4c1f577e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/meta/cve-update-db-native.bb