diff options
author | 2022-02-02 08:35:23 +0100 | |
---|---|---|
committer | 2022-02-19 09:59:34 -1000 | |
commit | ee05539fc6fadff7f14c8609641021fc497cbd8e (patch) | |
tree | d9aa15ae0d8fee4e9552466ca00672836810b3a2 /meta/classes | |
parent | 26daab8a30661b64d2ee3de030e472da5160b387 (diff) | |
download | openembedded-core-contrib-ee05539fc6fadff7f14c8609641021fc497cbd8e.tar.gz |
cve-check: create directory of CVE_CHECK_MANIFEST before copy
Create directory of the CVE_CHECK_MANIFEST variable before copy to it,
so that the variable can use an arbitrary directory name.
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9829c16301bf2dce39fa046401a984f112fa0322)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cve-check.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 6eecbdbf13..6b627464a0 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass @@ -143,6 +143,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): |