diff options
author | Ross Burton <ross.burton@arm.com> | 2022-06-29 16:15:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-30 10:26:48 +0100 |
commit | fccdcfd301de281a427bfee48d8ff47fa07b7259 (patch) | |
tree | 4e211b5167ca956b8fee7438767e1e2e5c44ce80 /meta-selftest/recipes-test/images/oe-selftest-image.bb | |
parent | b40dd920f8b40eabe78db363249257818c63c074 (diff) | |
download | openembedded-core-fccdcfd301de281a427bfee48d8ff47fa07b7259.tar.gz |
cve-check: hook cleanup to the BuildCompleted event, not CookerExit
The cve-check class writes temporary files to preserve state across the
build, and cleans them up in a CookerExit handler.
However, in memory-resident builds the cooker won't exit in between
builds, so the state isn't cleared and the CVE report generation fails:
NOTE: Generating JSON CVE summary
ERROR: Error adding the same package twice
Easily solved by hooking to BuildCompleted, instead of CookerExit.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/recipes-test/images/oe-selftest-image.bb')
0 files changed, 0 insertions, 0 deletions