diff options
| author | Ross Burton <ross@burtonini.com> | 2022-02-23 12:54:31 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-09 17:30:48 +0000 |
| commit | 99bb7a2d3083c7ed1e10261a6c0cd872cf9947f6 (patch) | |
| tree | 454cded197ba9597e21b12265c2c38bc6818bd8f /scripts/lib/scriptpath.py | |
| parent | 18161d9e478011bd0e651afcbf2dd780022f26be (diff) | |
| download | poky-99bb7a2d3083c7ed1e10261a6c0cd872cf9947f6.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: 2b3d13a451e99db669977d4d1172653b736ae6e1)
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: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions
