diff options
Diffstat (limited to 'meta/classes/rootfs-postcommands.bbclass')
-rw-r--r-- | meta/classes/rootfs-postcommands.bbclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass index 56e810fd6f..95d28afa30 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass | |||
@@ -225,7 +225,7 @@ python write_image_manifest () { | |||
225 | 225 | ||
226 | if os.path.exists(manifest_name): | 226 | if os.path.exists(manifest_name): |
227 | manifest_link = deploy_dir + "/" + link_name + ".manifest" | 227 | manifest_link = deploy_dir + "/" + link_name + ".manifest" |
228 | if os.path.exists(manifest_link): | 228 | if os.path.lexists(manifest_link): |
229 | if d.getVar('RM_OLD_IMAGE', True) == "1" and \ | 229 | if d.getVar('RM_OLD_IMAGE', True) == "1" and \ |
230 | os.path.exists(os.path.realpath(manifest_link)): | 230 | os.path.exists(os.path.realpath(manifest_link)): |
231 | os.remove(os.path.realpath(manifest_link)) | 231 | os.remove(os.path.realpath(manifest_link)) |
@@ -275,5 +275,3 @@ rootfs_check_host_user_contaminated () { | |||
275 | rootfs_sysroot_relativelinks () { | 275 | rootfs_sysroot_relativelinks () { |
276 | sysroot-relativelinks.py ${SDK_OUTPUT}/${SDKTARGETSYSROOT} | 276 | sysroot-relativelinks.py ${SDK_OUTPUT}/${SDKTARGETSYSROOT} |
277 | } | 277 | } |
278 | |||
279 | |||