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, 0 insertions, 2 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index 8251ca7c97..1425a40554 100644
--- a/meta/classes/cve-check.bbclass
+++ b/meta/classes/cve-check.bbclass
@@ -92,8 +92,6 @@ python cve_check_write_rootfs_manifest () {
92 manifest_link = os.path.join(deploy_dir, "%s.cve" % link_name) 92 manifest_link = os.path.join(deploy_dir, "%s.cve" % link_name)
93 # If we already have another manifest, update symlinks 93 # If we already have another manifest, update symlinks
94 if os.path.exists(os.path.realpath(manifest_link)): 94 if os.path.exists(os.path.realpath(manifest_link)):
95 if d.getVar('RM_OLD_IMAGE', True) == "1":
96 os.remove(os.path.realpath(manifest_link))
97 os.remove(manifest_link) 95 os.remove(manifest_link)
98 os.symlink(os.path.basename(manifest_name), manifest_link) 96 os.symlink(os.path.basename(manifest_name), manifest_link)
99 bb.plain("Image CVE report stored in: %s" % manifest_name) 97 bb.plain("Image CVE report stored in: %s" % manifest_name)