summaryrefslogtreecommitdiffstats
path: root/classes/sdcard_image-rpi-ota.bbclass
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-01-04 17:26:48 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2017-01-04 17:26:48 +0100
commit5316597a4c4d004ab1b01c1e829da2374fd1f6a7 (patch)
tree1e382485d3073d3e47fe08cf4dcb9f4d963b79a5 /classes/sdcard_image-rpi-ota.bbclass
parenta4adc31c0d6cd42d01b392eb33996a3192e4e864 (diff)
downloadmeta-updater-5316597a4c4d004ab1b01c1e829da2374fd1f6a7.tar.gz
Remove useless image-version-info to get rid of "taskhash mismatch" error
Diffstat (limited to 'classes/sdcard_image-rpi-ota.bbclass')
-rw-r--r--classes/sdcard_image-rpi-ota.bbclass6
1 files changed, 0 insertions, 6 deletions
diff --git a/classes/sdcard_image-rpi-ota.bbclass b/classes/sdcard_image-rpi-ota.bbclass
index 8fc2605..ff234eb 100644
--- a/classes/sdcard_image-rpi-ota.bbclass
+++ b/classes/sdcard_image-rpi-ota.bbclass
@@ -72,8 +72,6 @@ SDIMG_OTA = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.rpi-sdimg-ota"
72# Additional files and/or directories to be copied into the vfat partition from the IMAGE_ROOTFS. 72# Additional files and/or directories to be copied into the vfat partition from the IMAGE_ROOTFS.
73FATPAYLOAD ?= "" 73FATPAYLOAD ?= ""
74 74
75IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
76IMAGE_CMD_rpi-sdimg-ota[vardepsexclude] += "IMAGEDATESTAMP"
77IMAGE_CMD_rpi-sdimg-ota[vardepsexclude] += "DATETIME" 75IMAGE_CMD_rpi-sdimg-ota[vardepsexclude] += "DATETIME"
78 76
79IMAGE_CMD_rpi-sdimg-ota () { 77IMAGE_CMD_rpi-sdimg-ota () {
@@ -147,10 +145,6 @@ IMAGE_CMD_rpi-sdimg-ota () {
147 done 145 done
148 fi 146 fi
149 147
150 # Add stamp file
151 echo "${IMAGE_NAME}-${IMAGEDATESTAMP}" > ${WORKDIR}/image-version-info
152 mcopy -i ${WORKDIR}/boot.img -v ${WORKDIR}//image-version-info ::
153
154 # Burn Partitions 148 # Burn Partitions
155 sync 149 sync
156 dd if=${WORKDIR}/boot.img of=${SDIMG_OTA} conv=notrunc seek=1 bs=$(expr ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) && sync && sync 150 dd if=${WORKDIR}/boot.img of=${SDIMG_OTA} conv=notrunc seek=1 bs=$(expr ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) && sync && sync