summaryrefslogtreecommitdiffstats
path: root/meta/classes/cve-check.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/cve-check.bbclass')
-rw-r--r--meta/classes/cve-check.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index 4fa1a64f85..a95e810605 100644
--- a/meta/classes/cve-check.bbclass
+++ b/meta/classes/cve-check.bbclass
@@ -110,6 +110,7 @@ python do_cve_check () {
110} 110}
111 111
112addtask cve_check before do_build after do_fetch 112addtask cve_check before do_build after do_fetch
113do_cve_check[lockfiles] += "${CVE_CHECK_DB_FILE_LOCK}"
113do_cve_check[depends] = "cve-update-db-native:do_fetch" 114do_cve_check[depends] = "cve-update-db-native:do_fetch"
114do_cve_check[nostamp] = "1" 115do_cve_check[nostamp] = "1"
115 116
@@ -142,6 +143,7 @@ python cve_check_write_rootfs_manifest () {
142 manifest_name = d.getVar("CVE_CHECK_MANIFEST") 143 manifest_name = d.getVar("CVE_CHECK_MANIFEST")
143 cve_tmp_file = d.getVar("CVE_CHECK_TMP_FILE") 144 cve_tmp_file = d.getVar("CVE_CHECK_TMP_FILE")
144 145
146 bb.utils.mkdirhier(os.path.dirname(manifest_name))
145 shutil.copyfile(cve_tmp_file, manifest_name) 147 shutil.copyfile(cve_tmp_file, manifest_name)
146 148
147 if manifest_name and os.path.exists(manifest_name): 149 if manifest_name and os.path.exists(manifest_name):