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

paul at paulbarker.me.uk paul at paulbarker.me.uk
Sat Feb 18 11:51:01 PST 2017


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




More information about the yocto mailing list