summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/image_types.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 6bb113df4b..f7b8314784 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -95,7 +95,9 @@ runimagecmd () {
95 # And create the symlinks 95 # And create the symlinks
96 if [ -n "${IMAGE_LINK_NAME}" ]; then 96 if [ -n "${IMAGE_LINK_NAME}" ]; then
97 for type in ${subimages}; do 97 for type in ${subimages}; do
98 ln -s ${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type 98 if [ -e ${IMAGE_NAME}.rootfs.$type ]; then
99 ln -s ${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type
100 fi
99 done 101 done
100 fi 102 fi
101} 103}