Skip to content
Commit 677f5741 authored by Konrad Weihmann's avatar Konrad Weihmann Committed by Richard Purdie
Browse files

cve-check: add lockfile to task

this should prevent running into the very rare error
sqlite3.OperationalError: attempt to write a readonly database

As highlighted by https://www.sqlite.org/faq.html#q5


it is likely that the adapter won't allow use multiple exec calls
at the same time.

So it's best to prevent multiple accesses at a time, by reusing
the already in place CVE_CHECK_DB_FILE_LOCK

YOCTO #14110

Signed-off-by: default avatarKonrad Weihmann <kweihmann@outlook.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent fb450807
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