On Fri, Apr 29, 2016 at 11:57:43AM +1000, Jonathan Liu wrote: > 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 <net...@gmail.com> > --- > classes/sdcard_image-rpi.bbclass | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/classes/sdcard_image-rpi.bbclass > b/classes/sdcard_image-rpi.bbclass > index 1b055bd..989d77a 100644 > --- a/classes/sdcard_image-rpi.bbclass > +++ b/classes/sdcard_image-rpi.bbclass > @@ -67,6 +67,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 () { >
Merged to master. Thanks. -- Andrei Gherzan
signature.asc
Description: PGP signature
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto