[yocto] [meta-raspberrypi][PATCH RFC 3/3] linux-raspberrypi_dev: Disable version sanity check

Andrei Gherzan andrei at gherzan.ro
Sat Feb 18 20:08:50 PST 2017


On Sat, Feb 18, 2017 at 07:51:01PM +0000, paul at paulbarker.me.uk wrote:
> From: Paul Barker <paul at paulbarker.me.uk>
>
> After this change, LINUX_VERSION should not need to be changed every time
> upstream bumps the kernel version.
>
> Signed-off-by: Paul Barker <paul at paulbarker.me.uk>
> ---
>  recipes-kernel/linux/linux-raspberrypi_dev.bb | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-kernel/linux/linux-raspberrypi_dev.bb b/recipes-kernel/linux/linux-raspberrypi_dev.bb
> index 88c164b..89ee908 100644
> --- a/recipes-kernel/linux/linux-raspberrypi_dev.bb
> +++ b/recipes-kernel/linux/linux-raspberrypi_dev.bb
> @@ -1,6 +1,6 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
>
> -LINUX_VERSION ?= "4.10.0-rc8"
> +LINUX_VERSION ?= "4.10"
>  LINUX_RPI_DEV_BRANCH ?= "rpi-4.10.y"
>
>  SRCREV = "${AUTOREV}"
> @@ -13,3 +13,7 @@ require linux-raspberrypi.inc
>  # set by default in rpi-4.8.y and later branches so we need to provide it
>  # manually. This value unused if KERNEL_IMAGETYPE is not uImage.
>  KERNEL_EXTRA_ARGS += "LOADADDR=0x00008000"
> +
> +# Disable version check so that we don't have to edit this recipe every time
> +# upstream bumps the version
> +KERNEL_VERSION_SANITY_SKIP = "1"
> --
> 2.11.0
>

This one depends on [yocto] [meta-raspberrypi][PATCH] linux-raspberrypi:
Fix uImage build on 4.9.y and later.

--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170218/20daf88f/attachment.pgp>


More information about the yocto mailing list