[yocto] [meta-raspberrypi][PATCH 4/4] sdcard_image-rpi.bbclass: Remove redundant RPI_KERNEL_VERSION

Gary Thomas gary at mlbassoc.com
Sun Oct 9 22:14:14 PDT 2016


On 2016-10-07 04:09, Khem Raj wrote:
> From: Jonathan Liu <net147 at gmail.com>
>
> The value of the RPI_KERNEL_VERSION can change between None and the
> kernel version which can result in taskhash mismatch errors while
> building images.
>
> The taskhash mismatch errors can be reproduced using:
> bitbake -c cleansstate virtual/kernel core-image-minimal && bitbake core-image-minimal
>
> The get_dts() and split_overlays() functions are modified so that the
> kernel version argument is optional. If the version is not supplied to
> these functions, they will fallback to the Python equivalent of the
> expression used for RPI_KERNEL_VERSION.
>
> Signed-off-by: Jonathan Liu <net147 at gmail.com>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>

This fixes the problem I reported, thanks

Acked-by: Gary Thomas <gary at mlbassoc.com>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list