]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cve-update-db-native: make it possible to disable database updates
authorMarta Rybczynska <rybczynska@gmail.com>
Fri, 3 Jun 2022 09:09:56 +0000 (11:09 +0200)
committerSteve Sakoman <steve@sakoman.com>
Mon, 6 Jun 2022 15:32:51 +0000 (05:32 -1000)
commitac6b4900bc0d8b4554f666de8d9d041653935a03
treec692567790ad02b213414b850c79e1f5ca849b37
parent2fc716ad75dcc59000dcc18143f06bcdf43be242
cve-update-db-native: make it possible to disable database updates

Make it possible to disable the database update completely by using
a negative update interval CVE_DB_UPDATE_INTERVAL.

Disabling the update is useful when running multiple parallel builds
when we want to have a control on the database version. This allows
coherent cve-check results without an database update for only
some of the builds.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5c2269240327c2a8f93b9e55354698f52c976f3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/meta/cve-update-db-native.bb