]> code.ossystems Code Review - openembedded-core.git/commit
cve-update-db-native: move -journal checking into do_fetch
authorChris Laplante <chris.laplante@agilent.com>
Mon, 14 Sep 2020 15:33:19 +0000 (11:33 -0400)
committerSteve Sakoman <steve@sakoman.com>
Mon, 28 Sep 2020 17:55:37 +0000 (07:55 -1000)
commit0e11c37e49272b967010df7dcebbe73a76f70edb
tree945e657aa858086abd53fa69cb0af8d41087ed7c
parentec2a17001a2a0180ecdb0b946ff8f7673e14ba24
cve-update-db-native: move -journal checking into do_fetch

It was always questionable to do this in an anonymous function, but now
with multiconfig it is a critical mistake and leads to more strange
"Exception: sqlite3.OperationalError: disk I/O error" errors.

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fcbc9d0e8421a3a559db05005ba042337cd5d864)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/meta/cve-update-db-native.bb