diff mbox series

[v2,15/16] systemtap: put version in recipe filename

Message ID 20250605161414.1050228-15-ross.burton@arm.com
State New
Headers show
Series [v2,01/16] libmodulemd: put version in recipe filename | expand

Commit Message

Ross Burton June 5, 2025, 4:14 p.m. UTC
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>
---
 .../{systemtap-native_git.bb => systemtap-native_5.2.bb}    | 3 +--
 .../systemtap/{systemtap_git.bb => systemtap_5.2.bb}        | 0
 meta/recipes-kernel/systemtap/systemtap_git.inc             | 6 +++---
 3 files changed, 4 insertions(+), 5 deletions(-)
 rename meta/recipes-kernel/systemtap/{systemtap-native_git.bb => systemtap-native_5.2.bb} (77%)
 rename meta/recipes-kernel/systemtap/{systemtap_git.bb => systemtap_5.2.bb} (100%)
diff mbox series

Patch

diff --git a/meta/recipes-kernel/systemtap/systemtap-native_git.bb b/meta/recipes-kernel/systemtap/systemtap-native_5.2.bb
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 2690b259c8b..8befa7a7eac 100644
--- a/meta/recipes-kernel/systemtap/systemtap-native_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap-native_5.2.bb
@@ -1,5 +1,4 @@ 
-
-require systemtap_git.bb
+require systemtap_${PV}.bb
 
 inherit_defer native
 
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_5.2.bb
similarity index 100%
rename from meta/recipes-kernel/systemtap/systemtap_git.bb
rename to meta/recipes-kernel/systemtap/systemtap_5.2.bb
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc
index bbb2105b5ac..a6688f26042 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.inc
+++ b/meta/recipes-kernel/systemtap/systemtap_git.inc
@@ -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'