diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-02-29 05:41:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-29 12:54:32 +0000 |
commit | d0f1ae1f8cf8ef4e5adc24cc6246d3849e51aa98 (patch) | |
tree | b78a30eb3f464e39b684c79ee46ee9759c3af664 /meta/classes/image.bbclass | |
parent | e83b2e25ebf0169371035483095a06b3ca5eb479 (diff) | |
download | openembedded-core-d0f1ae1f8cf8ef4e5adc24cc6246d3849e51aa98.tar.gz openembedded-core-d0f1ae1f8cf8ef4e5adc24cc6246d3849e51aa98.tar.bz2 openembedded-core-d0f1ae1f8cf8ef4e5adc24cc6246d3849e51aa98.zip |
image.bbclass: do not create image manifest link if IMAGE_LINK_NAME is empty
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-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 () { write_image_manifest () { rootfs_${IMAGE_PKGTYPE}_write_manifest - rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.manifest - ln -s ${IMAGE_NAME}.rootfs.manifest ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.manifest + if [ -n "${IMAGE_LINK_NAME}" ]; then + rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.manifest + ln -s ${IMAGE_NAME}.rootfs.manifest ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.manifest + fi } # Make login manager(s) enable automatic login. |