summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>2017-06-17 09:49:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-04 17:38:09 +0100
commit38613fdacf8e0699229811c870f3f7bf317ef32a (patch)
tree9f9ea71ed09df2de8d264eb5011bf5412ef9fd56 /scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend
parent767caa9cf34191bdcc40d0887ce04a3b141407d3 (diff)
downloadpoky-38613fdacf8e0699229811c870f3f7bf317ef32a.tar.gz
recipes-kernel: Skip kernel version check on kernel templates
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 comment the lines which defaults SRCREV to AUTOREV, leaving the previous comment to replace the SRCREVs for real ones once kernel changes are done. 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 ../tmp/work/myqemu-poky-linux/linux-yocto/4.8.12+gitAUTOINC+4fb6f24600_d4148a2064-r0.1/temp/log.do_kernel_version_sanity_check.17509) [YOCTO #11064] (From meta-yocto rev: 51a42001c39d1b7c8170cc84904fa915295f1358) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend')
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend
index 5fb45d9ab7..51cb0124cd 100644
--- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend
@@ -28,6 +28,6 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
28 28
29# replace these SRCREVs with the real commit ids once you've had 29# replace these SRCREVs with the real commit ids once you've had
30# the appropriate changes committed to the upstream linux-yocto repo 30# the appropriate changes committed to the upstream linux-yocto repo
31SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" 31#SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
32SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" 32#SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
33#LINUX_VERSION = "4.8" 33#LINUX_VERSION = "4.8"