summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2016-04-29 11:57:43 +1000
committerAndrei Gherzan <andrei@gherzan.ro>2016-05-04 15:52:15 +0200
commitcd338c26e25640cd4d67d17646684e3d3314dc74 (patch)
tree4e1fbab65ec5ec73f0712431b54b45ec534d14b7 /classes
parentdedd75f08ffe3360722ab761da18987aa681edd1 (diff)
downloadmeta-raspberrypi-cd338c26e25640cd4d67d17646684e3d3314dc74.tar.gz
sdcard_image-rpi.bbclass: Fix do_image_rpi_sdimg tashhash mismatch
IMAGE_CMD_rpi-sdimg() uses the IMAGEDATESTAMP variable, so the taskhash of the function keeps changing. This results in a taskhash mismatch error. Fix this by excluding the IMAGEDATESTAMP variable from the checksum. Change-Id: Ie6f30ad29e279d5312ec655ac4a3bf246c8a04de Signed-off-by: Jonathan Liu <net147@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/sdcard_image-rpi.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass
index f20ff04..4dfd7a3 100644
--- a/classes/sdcard_image-rpi.bbclass
+++ b/classes/sdcard_image-rpi.bbclass
@@ -72,6 +72,7 @@ SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.rpi-sdimg"
72FATPAYLOAD ?= "" 72FATPAYLOAD ?= ""
73 73
74IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}" 74IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
75IMAGE_CMD_rpi-sdimg[vardepsexclude] = "IMAGEDATESTAMP"
75 76
76IMAGE_CMD_rpi-sdimg () { 77IMAGE_CMD_rpi-sdimg () {
77 78