From c56e9935de14385e03e8af6a3221b1f158ce4f0a Mon Sep 17 00:00:00 2001 From: Andrea Galbusera Date: Fri, 28 Oct 2016 17:12:14 +0200 Subject: linux-altera: fix QA error on kernel PV mismatch Commit 0eacf03de18b7eeb3460a4d102dd5932cd73cd06 in poky master introduced a new QA test that linux-altera recipes are currently failing with: ERROR: linux-altera-ltsi-4.1.22+gitAUTOINC+76bdba2700-r0 do_kernel_version_sanity_check: Package Version (4.1.22+gitAUTOINC+76bdba2700) does not match of kernel being built (4.1.22-ltsi). Please update the PV variable to match the kernel source. Append ${LINUX_VERSION_SUFFIX} to PV to match version information in kernel's Makefile. --- recipes-kernel/linux/linux-altera.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-altera.inc b/recipes-kernel/linux/linux-altera.inc index 191b00e..dc1aca0 100644 --- a/recipes-kernel/linux/linux-altera.inc +++ b/recipes-kernel/linux/linux-altera.inc @@ -16,7 +16,7 @@ LINUX_VERSION ?= "4.0" SRCREV ?= "${AUTOREV}" SRCREV_machine ?= "${AUTOREV}" -PV = "${LINUX_VERSION}" +PV = "${LINUX_VERSION}${LINUX_VERSION_SUFFIX}" PV_append = "+git${SRCPV}" -- cgit v1.2.3-54-g00ecf