2016-04-29 03:57 skrev Jonathan Liu:
> 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 () { > > -- > 2.8.0 Hi Andrei, Any plans for merging this patch soon? I have been using it in my tree for quite some time and the fix seems reasonable and solves the annoying taskhash problem when creating the image. BR Petter Petter Mabäcker Technux <pet...@technux.se> www.technux.se
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto