diff options
author | Konstantin Shemyak <konstantin.shemyak@ge.com> | 2018-08-13 10:23:28 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-15 21:45:10 +0100 |
commit | 125789b6ee6d47ab84192230f63971c4e22418ba (patch) | |
tree | f8fc141530ded7c3a5bb410a8e349d18bc42cb13 /scripts/lib/devtool/sdk.py | |
parent | 97b439469a45a089431ca9c31893288c855045f4 (diff) | |
download | openembedded-core-125789b6ee6d47ab84192230f63971c4e22418ba.tar.gz openembedded-core-125789b6ee6d47ab84192230f63971c4e22418ba.tar.bz2 openembedded-core-125789b6ee6d47ab84192230f63971c4e22418ba.zip |
cve-check.bbclass: do not download the CVE DB in package-specific tasks
Disable downloading of the vulnerability DB in do_check_cves() task.
When invoked in this task, cve-check-tool attempts re-download of the CVE DB
if the latter is older than certain threshold. While reasonable for a
stand-alone CVE checker, this behavior can cause errors in parallel builds
if the build time is longer than this threshold:
* Other tasks might be using the DB.
* Several packages can start the download of the same file at the same time.
This check is not really needed, as the DB has been downloaded by
cve_check_tool:do_populate_cve_db() which is a prerequisite of any do_build().
The DB will be at most (threshold + build_time) old.
Signed-off-by: Konstantin Shemyak <konstantin.shemyak@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
0 files changed, 0 insertions, 0 deletions