diff options
author | Lee Chee Yang <chee.yang.lee@intel.com> | 2020-03-27 11:57:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-29 20:04:10 +0100 |
commit | 5cd9d19813d8cbe2e74d4fdbd424b6a15ca828c8 (patch) | |
tree | ecd657cebc8e66e8bf8524c184989f9f9d3472d9 /oe-init-build-env | |
parent | d349d7bb68e3d7411562ca137080680ae3ad0c1a (diff) | |
download | poky-5cd9d19813d8cbe2e74d4fdbd424b6a15ca828c8.tar.gz |
cve-update-db-native: clean DB if temporary file exist
when do_populate_cve_db forced stop at certain point, the
DB execution are stoped however the temporary database
file (DB-JOURNAL) are not removed. This db-journal file
indicates that DB is incomplete and set DB in readonly
mode. So when db-journal exist, remove both DB and the
db-journal and build the DB again from scratch.
[YOCTO #13682]
(From OE-Core rev: 70713df25b8ae27a21e53b0b9234567d7053800a)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
0 files changed, 0 insertions, 0 deletions