On Tue, 14 Jun 2016 19:30:25 +0100 Andrei Gherzan <and...@gherzan.ro> wrote:
> Hi Paul, > > On Wed, Jun 08, 2016 at 02:02:29PM +0100, Paul Barker wrote: > > 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 () { > > I can't seem to replicate this issue with currrent poky master. Any > idea why? Maybe this got fixed in poky? > I must admit it's an issue I don't 100% understand. I'll try again without this patch and see what happens. Thanks, Paul Barker -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto