diff options
Diffstat (limited to 'meta/classes/rootfs-postcommands.bbclass')
| -rw-r--r-- | meta/classes/rootfs-postcommands.bbclass | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass index 07e265c5ac..0c7ceea542 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass | |||
| @@ -232,9 +232,6 @@ python write_image_manifest () { | |||
| 232 | if os.path.exists(manifest_name): | 232 | if os.path.exists(manifest_name): |
| 233 | manifest_link = deploy_dir + "/" + link_name + ".manifest" | 233 | manifest_link = deploy_dir + "/" + link_name + ".manifest" |
| 234 | if os.path.lexists(manifest_link): | 234 | if os.path.lexists(manifest_link): |
| 235 | if d.getVar('RM_OLD_IMAGE', True) == "1" and \ | ||
| 236 | os.path.exists(os.path.realpath(manifest_link)): | ||
| 237 | os.remove(os.path.realpath(manifest_link)) | ||
| 238 | os.remove(manifest_link) | 235 | os.remove(manifest_link) |
| 239 | os.symlink(os.path.basename(manifest_name), manifest_link) | 236 | os.symlink(os.path.basename(manifest_name), manifest_link) |
| 240 | } | 237 | } |
