From 493af5a84c50c93bca097f91f5e62ffeafb13a15 Mon Sep 17 00:00:00 2001 From: Nathan Lynch Date: Mon, 16 Jan 2017 12:51:44 -0600 Subject: [PATCH] lttng-modules: upgrade to 2.9.0 Switch to using release tarballs. (From OE-Core rev: 7db8edbffdd29a01694add88d5a6988fab4511ad) Signed-off-by: Nathan Lynch Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../{lttng-modules_git.bb => lttng-modules_2.9.0.bb} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename meta/recipes-kernel/lttng/{lttng-modules_git.bb => lttng-modules_2.9.0.bb} (84%) diff --git a/meta/recipes-kernel/lttng/lttng-modules_git.bb b/meta/recipes-kernel/lttng/lttng-modules_2.9.0.bb similarity index 84% rename from meta/recipes-kernel/lttng/lttng-modules_git.bb rename to meta/recipes-kernel/lttng/lttng-modules_2.9.0.bb index 8a287131d0..e59d6bc137 100644 --- a/meta/recipes-kernel/lttng/lttng-modules_git.bb +++ b/meta/recipes-kernel/lttng/lttng-modules_2.9.0.bb @@ -8,20 +8,18 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=362844633a08753bd96ab322a6c7f9f6 \ inherit module -SRCREV = "6e4fc6f36d68fb3c8d40113f8670eb6e9c8ffd76" -PV = "2.8.0+git${SRCPV}" - COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|nios2|arm).*-linux' -SRC_URI = "git://git.lttng.org/lttng-modules.git;branch=stable-2.8 \ +SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch" +SRC_URI[md5sum] = "717df375ccb6f32bb297cc2f2e692bbf" +SRC_URI[sha256sum] = "af914e5954081cfb6bd4c6dcf9390474e0c13fe056b12b3dfc86d1b88b8340a0" + export INSTALL_MOD_DIR="kernel/lttng-modules" EXTRA_OEMAKE += "KERNELDIR='${STAGING_KERNEL_DIR}'" -S = "${WORKDIR}/git" - do_install_append() { # Delete empty directories to avoid QA failures if no modules were built find ${D}/lib -depth -type d -empty -exec rmdir {} \;