As recently discussed on the mailing list, bitbake now issues an error when the task hash computed by the bitbake master differs from the task hash computed by the bitbake worker. This usually happens when the task hash depends on the date and time for some reason.
This affects IMAGE_CMD_rpi-sdimg and is fixed by excluding the dependency on the current date and time from the command. Signed-off-by: Paul Barker <p...@paulbarker.me.uk> --- classes/sdcard_image-rpi.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 3b4f13f..a8d83a3 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass @@ -72,7 +72,7 @@ SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.rpi-sdimg" FATPAYLOAD ?= "" IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}" -IMAGE_CMD_rpi-sdimg[vardepsexclude] = "IMAGEDATESTAMP" +IMAGE_CMD_rpi-sdimg[vardepsexclude] = "DATETIME" IMAGE_CMD_rpi-sdimg () { -- 2.1.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto