From 85bb679f22b2f5fb308016e62356bd1d6ba455a0 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 11 Mar 2015 01:35:40 -0700 Subject: kernelsrc.bbclass: fix KERNEL_VERSION The kernel-abiversion is now in STAGING_KERNEL_BUILDDIR not in S. Fixed rpm pkg like perf: (note the None version) perf-None-r9.qemux86.rpm Signed-off-by: Robert Yang Signed-off-by: Ross Burton --- meta/classes/kernelsrc.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass index 4208eff6fc..9efd46a92d 100644 --- a/meta/classes/kernelsrc.bbclass +++ b/meta/classes/kernelsrc.bbclass @@ -4,7 +4,7 @@ do_unpack[depends] += "virtual/kernel:do_patch" do_unpack[noexec] = "1" do_patch[noexec] = "1" do_package[depends] += "virtual/kernel:do_populate_sysroot" -KERNEL_VERSION = "${@get_kernelversion_file("${S}")}" +KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}" inherit linux-kernel-base -- cgit v1.2.3