summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2017-03-27 21:32:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-28 08:52:14 +0100
commite6adeac7aa322bb074c0daf2c773f0d80eb59141 (patch)
tree819d42bbe0a83d883ab5949d2de96d28f330b264 /scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux
parent759fcd204f9594b078b4ceebcdb2049793f7a288 (diff)
downloadpoky-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/qemu/recipes-kernel/linux')
-rw-r--r--scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend2
-rw-r--r--scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend2
-rw-r--r--scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend2
-rw-r--r--scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend2
-rw-r--r--scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend2
-rw-r--r--scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend2
-rw-r--r--scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend2
-rw-r--r--scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend2
8 files changed, 16 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend
index 14ee16f321..81392ce38a 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
60SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" 60SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
61SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" 61SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
62#LINUX_VERSION = "4.1" 62#LINUX_VERSION = "4.1"
63#Remove the following line once AUTOREV is locked to a certain SRCREV
64KERNEL_VERSION_SANITY_SKIP = "1"
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend
index 2a76f53fcb..29ad17b200 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
60SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" 60SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
61SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" 61SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
62#LINUX_VERSION = "4.10" 62#LINUX_VERSION = "4.10"
63#Remove the following line once AUTOREV is locked to a certain SRCREV
64KERNEL_VERSION_SANITY_SKIP = "1"
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend
index e256e08bd1..a73b1aa132 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
60SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" 60SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
61SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" 61SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
62#LINUX_VERSION = "4.4" 62#LINUX_VERSION = "4.4"
63#Remove the following line once AUTOREV is locked to a certain SRCREV
64KERNEL_VERSION_SANITY_SKIP = "1"
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend
index c1635d6f6b..7d40671fd4 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend
@@ -60,3 +60,5 @@ SRC_URI += "file://{{=machine}}-tiny.scc \
60SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" 60SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
61SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" 61SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
62#LINUX_VERSION = "4.8" 62#LINUX_VERSION = "4.8"
63#Remove the following line once AUTOREV is locked to a certain SRCREV
64KERNEL_VERSION_SANITY_SKIP = "1"
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend
index fce67b4aa8..a9fd9ecff5 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
59SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" 59SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
60SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" 60SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
61#LINUX_VERSION = "4.1" 61#LINUX_VERSION = "4.1"
62#Remove the following line once AUTOREV is locked to a certain SRCREV
63KERNEL_VERSION_SANITY_SKIP = "1"
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend
index 82ba76460a..5873da4245 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
59SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" 59SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
60SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" 60SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
61#LINUX_VERSION = "4.10" 61#LINUX_VERSION = "4.10"
62#Remove the following line once AUTOREV is locked to a certain SRCREV
63KERNEL_VERSION_SANITY_SKIP = "1"
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend
index 4097932281..cdee773798 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
59SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" 59SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
60SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" 60SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
61#LINUX_VERSION = "4.4" 61#LINUX_VERSION = "4.4"
62#Remove the following line once AUTOREV is locked to a certain SRCREV
63KERNEL_VERSION_SANITY_SKIP = "1"
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend
index e8c3fc82e4..24c28803ee 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend
@@ -59,3 +59,5 @@ SRC_URI += "file://{{=machine}}-standard.scc \
59SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" 59SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
60SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" 60SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
61#LINUX_VERSION = "4.8" 61#LINUX_VERSION = "4.8"
62#Remove the following line once AUTOREV is locked to a certain SRCREV
63KERNEL_VERSION_SANITY_SKIP = "1"