]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cve-update-db-native: let the user to drive the update interval
authorMarta Rybczynska <rybczynska@gmail.com>
Mon, 2 May 2022 14:25:36 +0000 (16:25 +0200)
committerSteve Sakoman <steve@sakoman.com>
Mon, 9 May 2022 14:01:07 +0000 (04:01 -1000)
commit0007dd0edb39123201a46886a4e71d001c118ddf
tree7fcf7da4e12b83482724c8dcd71234d7cba74a85
parent27b1cb83ec666cc91930f2a7b5a6282fde77c730
cve-update-db-native: let the user to drive the update interval

Add a new variable CVE_DB_UPDATE_INTERVAL allowing the user to set
the database update interval.
 - a positive value sets an interval (in seconds)
 - a zero ("0") forces the database update

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 fe7bc6f16184d5ebdb1dd914b6dcb75c9e5e0c9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/meta/cve-update-db-native.bb