diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2017-03-27 21:32:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-28 08:52:14 +0100 |
commit | e6adeac7aa322bb074c0daf2c773f0d80eb59141 (patch) | |
tree | 819d42bbe0a83d883ab5949d2de96d28f330b264 /scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel | |
parent | 759fcd204f9594b078b4ceebcdb2049793f7a288 (diff) | |
download | poky-e6adeac7aa322bb074c0daf2c773f0d80eb59141.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 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]
(From meta-yocto rev: 79bfd911f826c6c7e26827bb200dd69e6f567b17)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel')
8 files changed, 17 insertions, 1 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend index 0a47a4e37f..d15a178e1b 100644 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend | |||
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \ | |||
31 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | 31 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" |
32 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | 32 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" |
33 | #LINUX_VERSION = "4.1" | 33 | #LINUX_VERSION = "4.1" |
34 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
35 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend index c5b832f884..5cc82e82ad 100644 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend | |||
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \ | |||
31 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | 31 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" |
32 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | 32 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" |
33 | #LINUX_VERSION = "4.10" | 33 | #LINUX_VERSION = "4.10" |
34 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
35 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend index 815c77b813..070bd876ad 100644 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend | |||
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \ | |||
31 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | 31 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" |
32 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | 32 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" |
33 | #LINUX_VERSION = "4.4" | 33 | #LINUX_VERSION = "4.4" |
34 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
35 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
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..c391322e3f 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 | |||
@@ -31,3 +31,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \ | |||
31 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | 31 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" |
32 | SRCREV_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" |
34 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
35 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend index 2d3d073f79..4e7d7cbed9 100644 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend | |||
@@ -29,4 +29,6 @@ SRC_URI += "file://{{=machine}}-standard.scc \ | |||
29 | # the appropriate changes committed to the upstream linux-yocto repo | 29 | # the appropriate changes committed to the upstream linux-yocto repo |
30 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | 30 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" |
31 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | 31 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" |
32 | #LINUX_VERSION = "4.1" \ No newline at end of file | 32 | #LINUX_VERSION = "4.1" |
33 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
34 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.10.bbappend index 1a488c5da5..eaf436759a 100644 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.10.bbappend +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.10.bbappend | |||
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \ | |||
30 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | 30 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" |
31 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | 31 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" |
32 | #LINUX_VERSION = "4.10" | 32 | #LINUX_VERSION = "4.10" |
33 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
34 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend index b88a06c52a..56e8ad3a10 100644 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend | |||
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \ | |||
30 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | 30 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" |
31 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | 31 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" |
32 | #LINUX_VERSION = "4.4" | 32 | #LINUX_VERSION = "4.4" |
33 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
34 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend index 7c0df8bcd9..59752a9edf 100644 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.8.bbappend | |||
@@ -30,3 +30,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \ | |||
30 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | 30 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" |
31 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | 31 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" |
32 | #LINUX_VERSION = "4.8" | 32 | #LINUX_VERSION = "4.8" |
33 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
34 | KERNEL_VERSION_SANITY_SKIP = "1" | ||