Skip to content
Commit 487a5352 authored by Marta Rybczynska's avatar Marta Rybczynska Committed by Steve Sakoman
Browse files

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: default avatarMarta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5c22692)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent c63d06be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment