diff options
Diffstat (limited to 'classes/sdcard_image-porter-ota.bbclass')
-rw-r--r-- | classes/sdcard_image-porter-ota.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/sdcard_image-porter-ota.bbclass b/classes/sdcard_image-porter-ota.bbclass index 1b1de79..5909b44 100644 --- a/classes/sdcard_image-porter-ota.bbclass +++ b/classes/sdcard_image-porter-ota.bbclass | |||
@@ -59,6 +59,9 @@ IMAGE_CMD_porter-sdimg-ota () { | |||
59 | dd if=${SDIMG_OTA_ROOTFS} of=${SDIMG_OTA} conv=notrunc seek=1 bs=$(expr 1024 \* ${BOOT_SPACE_ALIGNED} + ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) && sync && sync | 59 | dd if=${SDIMG_OTA_ROOTFS} of=${SDIMG_OTA} conv=notrunc seek=1 bs=$(expr 1024 \* ${BOOT_SPACE_ALIGNED} + ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) && sync && sync |
60 | fi | 60 | fi |
61 | 61 | ||
62 | rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.porter-sdimg-ota | ||
63 | ln -s ${IMAGE_NAME}.porter-sdimg-ota ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.porter-sdimg-ota | ||
64 | |||
62 | # Optionally apply compression | 65 | # Optionally apply compression |
63 | case "${SDIMG_OTA_COMPRESSION}" in | 66 | case "${SDIMG_OTA_COMPRESSION}" in |
64 | "gzip") | 67 | "gzip") |