diff options
author | Konrad Weihmann <kweihmann@outlook.com> | 2022-01-07 10:48:51 +0100 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2022-01-17 10:37:09 +0800 |
commit | 155c238d340fdc82420ba9f367cb23014c78b705 (patch) | |
tree | 229435d244a4396e8055cbb9f0d4fc8d1ae766be /meta/recipes-core/glibc | |
parent | 48b0ab78f968d48887ab8ff8267782a200cbff19 (diff) | |
download | openembedded-core-contrib-155c238d340fdc82420ba9f367cb23014c78b705.tar.gz |
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: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 677f5741bd265be49d4a5bb933b3e8d8c4eec653)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'meta/recipes-core/glibc')
0 files changed, 0 insertions, 0 deletions