summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build_sdk.py
diff options
context:
space:
mode:
authorMarta Rybczynska <rybczynska@gmail.com>2022-06-03 14:17:10 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-11 10:06:13 +0100
commit34eecaa053b257443a18d4b20cab660621f03128 (patch)
treef8f5cda8af03bd1b6cd8088b6120fcaba4eab577 /scripts/lib/devtool/build_sdk.py
parent7f22fb48eb910e5325d659e2513003c812289194 (diff)
downloadpoky-34eecaa053b257443a18d4b20cab660621f03128.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: 79c02facd3f248122b4b7a6bd00192151e4a6406) Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f1b7877acd0f6e3626faa57d9f89809cfcdfd0f1) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build_sdk.py')
0 files changed, 0 insertions, 0 deletions