]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Jun 2022 12:35:29 +0000 (13:35 +0100)
commitb5c2269240327c2a8f93b9e55354698f52c976f3
tree10accb28011a8235a06e28b0030e4ce819521412
parentf86393c93dec47b24e837d0c4c5761a716ecdbb6
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>
meta/recipes-core/meta/cve-update-db-native.bb