diff options
| author | Marta Rybczynska <rybczynska@gmail.com> | 2022-06-03 14:17:10 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-06 13:36:05 +0100 |
| commit | 3b26027a004d25aa1e66258a7cc6fb3eb6801d12 (patch) | |
| tree | fab22c1738dea8ab51175c31fa631148d47a9589 /meta/classes/go.bbclass | |
| parent | 4417c376f692c58788739aeb1e1b15ad30fb780c (diff) | |
| download | poky-3b26027a004d25aa1e66258a7cc6fb3eb6801d12.tar.gz | |
cve-check: write empty fragment files in the text mode
In the cve-check text mode output, we didn't write fragment
files if there are no CVEs (if CVE_CHECK_REPORT_PATCHED is 1),
or no unpached CVEs otherwise.
However, in a system after multiple builds,
cve_check_write_rootfs_manifest might find older files and use
them as current, what leads to incorrect reporting.
Fix it by always writing a fragment file, even if empty.
(From OE-Core rev: f1b7877acd0f6e3626faa57d9f89809cfcdfd0f1)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/go.bbclass')
0 files changed, 0 insertions, 0 deletions
