]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
systemtap: put version in recipe filename
authorRoss Burton <ross.burton@arm.com>
Mon, 9 Jun 2025 11:19:47 +0000 (12:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jun 2025 16:43:20 +0000 (17:43 +0100)
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/systemtap/systemtap-native_5.2.bb [moved from meta/recipes-kernel/systemtap/systemtap-native_git.bb with 77% similarity]
meta/recipes-kernel/systemtap/systemtap_5.2.bb [moved from meta/recipes-kernel/systemtap/systemtap_git.bb with 100% similarity]
meta/recipes-kernel/systemtap/systemtap_git.inc

similarity index 77%
rename from meta/recipes-kernel/systemtap/systemtap-native_git.bb
rename to meta/recipes-kernel/systemtap/systemtap-native_5.2.bb
index 2690b259c8b85e307ce293dda968e1a8cb2f8023..8befa7a7eac07a6e1cf27b23b1add505ab0ab6de 100644 (file)
@@ -1,5 +1,4 @@
-
-require systemtap_git.bb
+require systemtap_${PV}.bb
 
 inherit_defer native
 
index bbb2105b5ace831a6e0963ee908da886c16a79da..a6688f26042a008086acea689a85938dd22d69b0 100644 (file)
@@ -1,14 +1,14 @@
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-SRCREV = "3a92ffe673c1621309a0b60892114495b651c9de"
-PV = "5.2"
 
-SRC_URI = "git://sourceware.org/git/systemtap.git;branch=master;protocol=https \
+SRC_URI = "git://sourceware.org/git/systemtap.git;protocol=https;branch=master \
            file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
            file://0001-Install-python-modules-to-correct-library-dir.patch \
            file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \
            "
 
+SRCREV = "3a92ffe673c1621309a0b60892114495b651c9de"
+
 COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux'
 COMPATIBLE_HOST:libc-musl = 'null'