[OE-core] [PATCH v2 3/5] lttng-modules: upgrade to 2.9.0

Nathan Lynch nathan_lynch at mentor.com
Mon Jan 16 18:51:44 UTC 2017


Switch to using release tarballs.

Signed-off-by: Nathan Lynch <nathan_lynch at mentor.com>
---
 .../lttng/{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 8a287131d06d..e59d6bc1379c 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 {} \;
-- 
2.7.4




More information about the Openembedded-core mailing list