summaryrefslogtreecommitdiff
path: root/meta/classes/image_ipk.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/image_ipk.bbclass')
-rw-r--r--meta/classes/image_ipk.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/image_ipk.bbclass b/meta/classes/image_ipk.bbclass
index 18476b9af..d5f21c580 100644
--- a/meta/classes/image_ipk.bbclass
+++ b/meta/classes/image_ipk.bbclass
@@ -53,6 +53,9 @@ fakeroot do_rootfs () {
else
bbimage -n "${IMAGE_NAME}" -t "$type" -e "${FILE}"
fi
+
+ rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.*
+ ln -s ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type
done
${IMAGE_POSTPROCESS_COMMAND}