From 4765e0f6a75cafcffa0e29fd67444484aa05e079 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 6 Sep 2019 13:34:59 +0200 Subject: linux-toradex-mainline: set package version to full Linux version Set the package version to reflect the complete Linux kernel version plus the git hash it has been built from. This could be done in the inc file only once, however, the Yocto kernel recipes set PV in the individual recipies as well. The close proximity to LINUX_VERSION also makes it obvious what PV will be. Signed-off-by: Stefan Agner --- recipes-kernel/linux/linux-toradex-mainline-rt_4.19.bb | 3 ++- recipes-kernel/linux/linux-toradex-mainline_5.2.bb | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/linux/linux-toradex-mainline-rt_4.19.bb b/recipes-kernel/linux/linux-toradex-mainline-rt_4.19.bb index 2476dc2..779ca82 100644 --- a/recipes-kernel/linux/linux-toradex-mainline-rt_4.19.bb +++ b/recipes-kernel/linux/linux-toradex-mainline-rt_4.19.bb @@ -1,6 +1,7 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.19:" LINUX_VERSION ?= "4.19.59-rt24" +PV = "${LINUX_VERSION}+git${SRCPV}" SRCREV_machine = "3758b8bd81966b63dc93093a323e9bdd734545fd" diff --git a/recipes-kernel/linux/linux-toradex-mainline_5.2.bb b/recipes-kernel/linux/linux-toradex-mainline_5.2.bb index aab78f8..84d76a6 100644 --- a/recipes-kernel/linux/linux-toradex-mainline_5.2.bb +++ b/recipes-kernel/linux/linux-toradex-mainline_5.2.bb @@ -1,6 +1,7 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.2:" LINUX_VERSION ?= "5.2.7" +PV = "${LINUX_VERSION}+git${SRCPV}" SRCREV_machine = "74e785ce1024471e77b6fb9da83ffd60762c8cac" -- cgit v1.2.3