diff options
author | Ross Burton <ross@burtonini.com> | 2022-02-23 12:54:31 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-10 16:39:50 +0000 |
commit | 16b4a5c2cbcad0edee3a36f90b1c713ded0dde7a (patch) | |
tree | 3589590da06cf216e87f9063744c93f9f45d01c5 /scripts/lib/devtool/build_image.py | |
parent | 5eaa4463f125b5a1f04140647fc7d8941f27eef7 (diff) | |
download | poky-16b4a5c2cbcad0edee3a36f90b1c713ded0dde7a.tar.gz |
cve-check: get_cve_info should open the database read-only
All of the function in cve-check should open the database read-only, as
the only writer is the fetch task in cve-update-db. However,
get_cve_info() was failing to do this, which might be causing locking
issues with sqlite.
(From OE-Core rev: 3c79237085169b96cc56910b08263437cad09e4d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8de517238f1f418d9af1ce312d99de04ce2e26fc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build_image.py')
0 files changed, 0 insertions, 0 deletions