summaryrefslogtreecommitdiffstats
path: root/meta-sota/classes/sdcard_image-porter-ota.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-sota/classes/sdcard_image-porter-ota.bbclass')
-rw-r--r--meta-sota/classes/sdcard_image-porter-ota.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-sota/classes/sdcard_image-porter-ota.bbclass b/meta-sota/classes/sdcard_image-porter-ota.bbclass
index 1b1de79..a9619dc 100644
--- a/meta-sota/classes/sdcard_image-porter-ota.bbclass
+++ b/meta-sota/classes/sdcard_image-porter-ota.bbclass
@@ -71,5 +71,8 @@ IMAGE_CMD_porter-sdimg-ota () {
xz -k "${SDIMG_OTA}"
;;
esac
+
+ rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs.porter-sdimg-ota
+ ln -s ${IMAGE_NAME}.rootfs.porter-sdimg-ota ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs.porter-sdimg-ota
}