[yocto] [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix do_image_rpi_sdimg tashhash mismatch
Andrei Gherzan
andrei at gherzan.ro
Wed May 4 06:52:48 PDT 2016
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 <net147 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160504/a7e80d38/attachment.pgp>
More information about the yocto
mailing list