[yocto] [meta-raspberrypi][PATCH 4/4] sdcard_image-rpi.bbclass: Exclude DATETIME from task stamp

Jonathan Liu net147 at gmail.com
Mon Jul 11 16:00:54 PDT 2016


Hi Khem,

On 24 June 2016 at 07:34, Khem Raj <raj.khem at gmail.com> wrote:
> This helps in fixing occasional error seen quite often
>
> ERROR: wpe-image-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch 7ea6b505bb7a2cc5ca03552bcf3333fa verses 3be7cdad8c4532430d96368c5ca523d4 for /a/builder/home/kraj/work/oe/meta-metrological/recipes-core/images/wp
> e-image.bb.do_image_rpi_sdimg
> ERROR: Taskhash mismatch 7ea6b505bb7a2cc5ca03552bcf3333fa verses 3be7cdad8c4532430d96368c5ca523d4 for /a/builder/home/kraj/work/oe/meta-metrological/recipes-core/images/wpe-image.bb.do_image_rpi_sdimg
>
> Signed-off-by: Khem Raj <raj.khem 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 4dfd7a3..e566669 100644
> --- a/classes/sdcard_image-rpi.bbclass
> +++ b/classes/sdcard_image-rpi.bbclass
> @@ -73,6 +73,7 @@ FATPAYLOAD ?= ""
>
>  IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
>  IMAGE_CMD_rpi-sdimg[vardepsexclude] = "IMAGEDATESTAMP"
> +IMAGE_CMD_rpi-sdimg[vardepsexclude] = "DATETIME"

Did you mean to append DATETIME to vardepsexclude or override IMAGEDATESTAMP?

>
>  IMAGE_CMD_rpi-sdimg () {
>
> --
> 2.9.0
>

Regards,
Jonathan



More information about the yocto mailing list