diff options
| -rw-r--r-- | meta/classes/image.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 4db55ff779..ec75cc1e6b 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
| @@ -322,8 +322,10 @@ make_zimage_symlink_relative () { | |||
| 322 | write_image_manifest () { | 322 | write_image_manifest () { |
| 323 | rootfs_${IMAGE_PKGTYPE}_write_manifest | 323 | rootfs_${IMAGE_PKGTYPE}_write_manifest |
| 324 | 324 | ||
| 325 | rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.manifest | 325 | if [ -n "${IMAGE_LINK_NAME}" ]; then |
| 326 | ln -s ${IMAGE_NAME}.rootfs.manifest ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.manifest | 326 | rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.manifest |
| 327 | ln -s ${IMAGE_NAME}.rootfs.manifest ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.manifest | ||
| 328 | fi | ||
| 327 | } | 329 | } |
| 328 | 330 | ||
| 329 | # Make login manager(s) enable automatic login. | 331 | # Make login manager(s) enable automatic login. |
