Skip to content
Snippets Groups Projects

cve-check: backport of fix for FileNotFoundError raise

Merged Davide Gardenal requested to merge tony3oo3/oniro:fix_cve-check_FNFError into kirkstone
All threads resolved!
@@ -148,6 +148,7 @@ python cve_check_write_rootfs_manifest () {
manifest_name = d.getVar("CVE_CHECK_MANIFEST")
cve_tmp_file = d.getVar("CVE_CHECK_TMP_FILE")
bb.utils.mkdirhier(os.path.dirname(manifest_name))
shutil.copyfile(cve_tmp_file, manifest_name)
if manifest_name and os.path.exists(manifest_name):
Loading