summaryrefslogtreecommitdiffstats
path: root/meta-sota/classes/sdcard_image-porter-ota.bbclass
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-01-16 17:11:23 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2017-01-17 14:59:47 +0100
commit22a19e912214d2a35050e95832b88cf4a6116954 (patch)
treeb969eb5f669aeb82856e32522d29747dbea7d280 /meta-sota/classes/sdcard_image-porter-ota.bbclass
parent684da7770b33f417f50f89889436d99c45c77525 (diff)
Image creation has changed a bit in morty, fix OSTree-related types
accordingly Bug-AGL: SPEC-413 Change-Id: If7dbf01eb277143e41b602a977b0ef6110a5664d Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
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
}