diff options
author | Jonathan Liu <net147@gmail.com> | 2016-04-29 11:57:43 +1000 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-05-04 15:52:15 +0200 |
commit | cd338c26e25640cd4d67d17646684e3d3314dc74 (patch) | |
tree | 4e1fbab65ec5ec73f0712431b54b45ec534d14b7 /classes | |
parent | dedd75f08ffe3360722ab761da18987aa681edd1 (diff) | |
download | meta-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.bbclass | 1 |
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" | |||
72 | FATPAYLOAD ?= "" | 72 | FATPAYLOAD ?= "" |
73 | 73 | ||
74 | IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}" | 74 | IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}" |
75 | IMAGE_CMD_rpi-sdimg[vardepsexclude] = "IMAGEDATESTAMP" | ||
75 | 76 | ||
76 | IMAGE_CMD_rpi-sdimg () { | 77 | IMAGE_CMD_rpi-sdimg () { |
77 | 78 | ||