Skip to contentSkip to conversation

recipes-kernel: Skip kernel version check on kernel templates

PATCH In review [email protected] 3 participants 5 messages Mar 27, 2017 – Mar 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipes-kernel: Skip kernel version check on kernel templates

From: Leonardo Sandoval <[email protected]>

Currently, SRCREV is set to AUTOREV, causing mismatch between PV and the kernel version shown in the makefile (see below to see the bitbake log). The solution is to skip this check, suggesting to remove it once SRCREV is locked.

ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Package Version (4.10+gitAUTOINC+01f18cba44_53be19cad6) does not match of kernel being built (4.10.5). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe.
ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Function failed: do_kernel_version_sanity_check (log file is located at /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp/log.do_kernel_version_sanity_check.26904)
ERROR: Logfile of failure stored in: /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp/log.do_kernel_version_sanity_check.26904
ERROR: Task (/home/lsandov1/poky2/meta/recipes-kernel/linux/linux-yocto_4.10.bb:do_kernel_version_sanity_check) failed with exit code '1

[YOCTO #11064]

---
 .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend       | 2 ++
 .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend       | 2 ++
 .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend       | 2 ++
 .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend     | 4 +++-
 .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend     | 2 ++
 .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend     | 2 ++
 .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
 .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
 .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
 .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
 .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
 .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
 .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
 .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
 .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
 .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
 .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
 .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
 .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend    | 2 ++
 .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend    | 2 ++
 .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend    | 2 ++
 .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.1.bbappend  | 2 ++
 .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend  | 2 ++
 .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.8.bbappend  | 2 ++
 .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend   | 2 ++
 .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend   | 2 ++
 .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend   | 2 ++
 .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.1.bbappend | 2 ++
 .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend | 2 ++
 .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.8.bbappend | 2 ++
 .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
 .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
 .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
 .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
 .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
 .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
 .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend    | 2 ++
 .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend    | 2 ++
 .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend    | 2 ++
 .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend  | 2 ++
 .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend  | 2 ++
 .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.8.bbappend  | 2 ++
 42 files changed, 85 insertions(+), 1 deletion(-)
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend +3 -1
index 2d3d073..4e7d7cb 100644
@@ -29,4 +29,6 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 # the appropriate changes committed to the upstream linux-yocto repo
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
-#LINUX_VERSION = "4.1"
\ No newline at end of file
+#LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index aecdff0..5ed144b 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index dd4de31..ab644bd 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 137d8fa..a535aea 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 01a046c..802e5f4 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index 57c90fa..dbb0fd5 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index accf9d5..c2eb40d 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 14ee16f..81392ce 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index e256e08..a73b1aa 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index c1635d6..7d40671 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index fce67b4..a9fd9ec 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index 4097932..cdee773 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index e8c3fc8..24c2880 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
 SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
 SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
 #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
Signature · 1 line
2.10.2
#1 lore raw

Leonardo,

Quoted 9 lines · On 03/27/2017 11:11 PM, [email protected] wrote:

From: Leonardo Sandoval <[email protected]>

Currently, SRCREV is set to AUTOREV, causing mismatch between PV and the kernel version shown in the makefile (see below to see the bitbake log). The solution is to skip this check, suggesting to remove it once SRCREV is locked.

ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Package Version (4.10+gitAUTOINC+01f18cba44_53be19cad6) does not match of kernel being built (4.10.5). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe.
ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Function failed: do_kernel_version_sanity_check (log file is located at /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp/log.do_kernel_version_sanity_check.26904)
ERROR: Logfile of failure stored in: /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp

These errors don't match the supported kernel versions in Morty. Are these being seen our 4.1, 4.4 or 4.8? I have not seen these errors.

- Armin

Quoted 474 lines

/log.do_kernel_version_sanity_check.26904
ERROR: Task (/home/lsandov1/poky2/meta/recipes-kernel/linux/linux-yocto_4.10.bb:do_kernel_version_sanity_check) failed with exit code '1

[YOCTO #11064]

---
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend       | 2 ++
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend       | 2 ++
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend       | 2 ++
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend     | 4 +++-
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend     | 2 ++
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend     | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend    | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.1.bbappend  | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend  | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.8.bbappend  | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend   | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend   | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend   | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.1.bbappend | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.8.bbappend | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend    | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend  | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend  | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.8.bbappend  | 2 ++
  42 files changed, 85 insertions(+), 1 deletion(-)
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend +3 -1
index 2d3d073..4e7d7cb 100644
@@ -29,4 +29,6 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  # the appropriate changes committed to the upstream linux-yocto repo
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
-#LINUX_VERSION = "4.1"
\ No newline at end of file
+#LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index aecdff0..5ed144b 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index dd4de31..ab644bd 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 137d8fa..a535aea 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 01a046c..802e5f4 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index 57c90fa..dbb0fd5 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index accf9d5..c2eb40d 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 14ee16f..81392ce 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index e256e08..a73b1aa 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index c1635d6..7d40671 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index fce67b4..a9fd9ec 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index 4097932..cdee773 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index e8c3fc8..24c2880 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
#2 lore raw
Quoted 9 lines · On Mon, 2017-03-27 at 16:31 -0700, akuster808 wrote:

Leonardo,

Quoted 6 lines · On 03/27/2017 11:11 PM, [email protected] wrote:

From: Leonardo Sandoval <[email protected]>

Currently, SRCREV is set to AUTOREV, causing mismatch between PV and the kernel version shown in the makefile (see below to see the bitbake log). The solution is to skip this check, suggesting to remove it once SRCREV is locked.

Quoted 7 lines
Quoted 3 lines

ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Package Version (4.10+gitAUTOINC+01f18cba44_53be19cad6) does not match of kernel being built (4.10.5). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe.
ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Function failed: do_kernel_version_sanity_check (log file is located at /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp/log.do_kernel_version_sanity_check.26904)
ERROR: Logfile of failure stored in: /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp

These errors don't match the supported kernel versions in Morty. Are these being seen our 4.1, 4.4 or 4.8? I have not seen these errors.

You are right, log does not correspond to morty (corresponds to master)

The errors are seen when including a meta bsp layer created by the yocto-bsp script and bitbake virtual/kernel (see bug 11064). This is the error for morty:

ERROR: linux-yocto-4.8.12+gitAUTOINC+4fb6f24600_d4148a2064-r0.1
do_kernel_version_sanity_check: Package Version (4.8.12+gitAUTOINC
+4fb6f24600_d4148a2064) does not match of kernel being built (4.8.21).
Please update the PV variable to match the kernel source.
ERROR: linux-yocto-4.8.12+gitAUTOINC+4fb6f24600_d4148a2064-r0.1
do_kernel_version_sanity_check: Function failed:
do_kernel_version_sanity_check (log file is located
at /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.8.12+gitAUTOINC+4fb6f24600_d4148a2064-r0.1/temp/log.do_kernel_version_sanity_check.17509)
ERROR: Logfile of failure stored
in: /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.8.12+gitAUTOINC+4fb6f24600_d4148a2064-r0.1/temp/log.do_kernel_version_sanity_check.17509
ERROR: Task
(/home/lsandov1/poky2/meta/recipes-kernel/linux/linux-yocto_4.8.bb:do_kernel_version_sanity_check) failed with exit code '1'

I will send a v2.

Leo

Quoted 476 lines

- Armin

Quoted 474 lines

/log.do_kernel_version_sanity_check.26904
ERROR: Task (/home/lsandov1/poky2/meta/recipes-kernel/linux/linux-yocto_4.10.bb:do_kernel_version_sanity_check) failed with exit code '1

[YOCTO #11064]

---
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend       | 2 ++
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend       | 2 ++
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend       | 2 ++
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend     | 4 +++-
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend     | 2 ++
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend     | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend    | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.1.bbappend  | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend  | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.8.bbappend  | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend   | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend   | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend   | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.1.bbappend | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.8.bbappend | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend    | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend  | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend  | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.8.bbappend  | 2 ++
  42 files changed, 85 insertions(+), 1 deletion(-)
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend +3 -1
index 2d3d073..4e7d7cb 100644
@@ -29,4 +29,6 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  # the appropriate changes committed to the upstream linux-yocto repo
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
-#LINUX_VERSION = "4.1"
\ No newline at end of file
+#LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index aecdff0..5ed144b 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index dd4de31..ab644bd 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 137d8fa..a535aea 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 01a046c..802e5f4 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index 57c90fa..dbb0fd5 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index accf9d5..c2eb40d 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 14ee16f..81392ce 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index e256e08..a73b1aa 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index c1635d6..7d40671 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index fce67b4..a9fd9ec 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index 4097932..cdee773 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index e8c3fc8..24c2880 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
#3 lore raw
In reply to [email protected]

Hey Leo,

This actually will not work for morty, as the variable to skip the check was not yet added. You might be able to request a backport on that patch, however, as it doesn't change functionality for current morty users, and fixes a fairly significant issue.

The relevant patch is here: http://cgit.openembedded.org/openembedded-core/commit/?id=1b6a3c17874ead7ee0957e67329aa3bd019fa129

Thanks,
Cal

Quoted 482 lines · On 03/27/2017 11:11 PM, [email protected] wrote:

From: Leonardo Sandoval <[email protected]>

Currently, SRCREV is set to AUTOREV, causing mismatch between PV and the kernel version shown in the makefile (see below to see the bitbake log). The solution is to skip this check, suggesting to remove it once SRCREV is locked.

ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Package Version (4.10+gitAUTOINC+01f18cba44_53be19cad6) does not match of kernel being built (4.10.5). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe.
ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Function failed: do_kernel_version_sanity_check (log file is located at /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp/log.do_kernel_version_sanity_check.26904)
ERROR: Logfile of failure stored in: /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp/log.do_kernel_version_sanity_check.26904
ERROR: Task (/home/lsandov1/poky2/meta/recipes-kernel/linux/linux-yocto_4.10.bb:do_kernel_version_sanity_check) failed with exit code '1

[YOCTO #11064]

---
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend       | 2 ++
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend       | 2 ++
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend       | 2 ++
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend     | 4 +++-
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend     | 2 ++
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend     | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend    | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.1.bbappend  | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend  | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.8.bbappend  | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend   | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend   | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend   | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.1.bbappend | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.8.bbappend | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend    | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend  | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend  | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.8.bbappend  | 2 ++
  42 files changed, 85 insertions(+), 1 deletion(-)
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend +3 -1
index 2d3d073..4e7d7cb 100644
@@ -29,4 +29,6 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  # the appropriate changes committed to the upstream linux-yocto repo
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
-#LINUX_VERSION = "4.1"
\ No newline at end of file
+#LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index aecdff0..5ed144b 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index dd4de31..ab644bd 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 137d8fa..a535aea 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 01a046c..802e5f4 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index 57c90fa..dbb0fd5 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index accf9d5..c2eb40d 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 14ee16f..81392ce 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index e256e08..a73b1aa 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index c1635d6..7d40671 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index fce67b4..a9fd9ec 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index 4097932..cdee773 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index e8c3fc8..24c2880 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
#4 lore raw
Quoted 11 lines · Cal Sullivan

Hey Leo,

This actually will not work for morty, as the variable to skip the check was not yet added.
You might be able to request a backport on that patch, however, as it doesn't change functionality
for current morty users, and fixes a fairly significant issue.

The relevant patch is here:
http://cgit.openembedded.org/openembedded-core/commit/?id=1b6a3c17874ead7ee0957e67329aa3bd019fa129

my bad, I did not check the meta BSP layer created by morty yocto-bsp. I will send v2 commenting the SRCREV lines on the new bbappend files.

Leo

Quoted 487 lines

Thanks,
Cal

Quoted 482 lines · On 03/27/2017 11:11 PM, [email protected] wrote:

From: Leonardo Sandoval <[email protected]>

Currently, SRCREV is set to AUTOREV, causing mismatch between PV and the kernel version shown in the makefile (see below to see the bitbake log). The solution is to skip this check, suggesting to remove it once SRCREV is locked.

ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Package Version (4.10+gitAUTOINC+01f18cba44_53be19cad6) does not match of kernel being built (4.10.5). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe.
ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Function failed: do_kernel_version_sanity_check (log file is located at /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp/log.do_kernel_version_sanity_check.26904)
ERROR: Logfile of failure stored in: /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp/log.do_kernel_version_sanity_check.26904
ERROR: Task (/home/lsandov1/poky2/meta/recipes-kernel/linux/linux-yocto_4.10.bb:do_kernel_version_sanity_check) failed with exit code '1

[YOCTO #11064]

---
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend       | 2 ++
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend       | 2 ++
  .../arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend       | 2 ++
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend     | 4 +++-
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend     | 2 ++
  .../target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend     | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/i386/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/mips/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend    | 2 ++
  .../arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend    | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.1.bbappend  | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend  | 2 ++
  .../target/arch/mips64/recipes-kernel/linux/linux-yocto_4.8.bbappend  | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend   | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend   | 2 ++
  .../arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend   | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.1.bbappend | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend | 2 ++
  .../target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.8.bbappend | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend      | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend      | 2 ++
  .../arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend      | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend    | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend    | 2 ++
  .../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend    | 2 ++
  .../arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend    | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend  | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend  | 2 ++
  .../target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.8.bbappend  | 2 ++
  42 files changed, 85 insertions(+), 1 deletion(-)
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend +3 -1
index 2d3d073..4e7d7cb 100644
@@ -29,4 +29,6 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  # the appropriate changes committed to the upstream linux-yocto repo
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
-#LINUX_VERSION = "4.1"
\ No newline at end of file
+#LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index aecdff0..5ed144b 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index dd4de31..ab644bd 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 137d8fa..a535aea 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 01a046c..802e5f4 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index 57c90fa..dbb0fd5 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index accf9d5..c2eb40d 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 14ee16f..81392ce 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index e256e08..a73b1aa 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index c1635d6..7d40671 100644
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index fce67b4..a9fd9ec 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index 4097932..cdee773 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index e8c3fc8..24c2880 100644
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +2 -0
index 0a47a4e..d15a178 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +2 -0
index 815c77b..070bd87 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend +2 -0
index 5fb45d9..c391322 100644
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
  SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend +2 -0
index 1e99a04..4e7d7cb 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.1"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend +2 -0
index b88a06c..56e8ad3 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.4"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.8.bbappend +2 -0
index 7c0df8b..59752a9 100644
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
  SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
  #LINUX_VERSION = "4.8"
+#Remove the following line once AUTOREV is locked to a certain SRCREV
+KERNEL_VERSION_SANITY_SKIP = "1"