summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/rootfs-postcommands.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass
index 89f8efd323..a2fe3dea2b 100644
--- a/meta/classes/rootfs-postcommands.bbclass
+++ b/meta/classes/rootfs-postcommands.bbclass
@@ -260,7 +260,7 @@ python write_image_manifest () {
260 with open(manifest_name, 'w+') as image_manifest: 260 with open(manifest_name, 'w+') as image_manifest:
261 image_manifest.write(format_pkg_list(pkgs, "ver")) 261 image_manifest.write(format_pkg_list(pkgs, "ver"))
262 262
263 if os.path.exists(manifest_name): 263 if os.path.exists(manifest_name) and link_name:
264 manifest_link = deploy_dir + "/" + link_name + ".manifest" 264 manifest_link = deploy_dir + "/" + link_name + ".manifest"
265 if os.path.lexists(manifest_link): 265 if os.path.lexists(manifest_link):
266 os.remove(manifest_link) 266 os.remove(manifest_link)