From patchwork Fri Jun 6 14:28:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 64462 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7800CC61CE7 for ; Fri, 6 Jun 2025 14:28:42 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.34876.1749220115697957480 for ; Fri, 06 Jun 2025 07:28:35 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 88230152B for ; Fri, 6 Jun 2025 07:28:17 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id EFF453F673 for ; Fri, 6 Jun 2025 07:28:34 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 15/16] systemtap: put version in recipe filename Date: Fri, 6 Jun 2025 15:28:20 +0100 Message-ID: <20250606142822.3387675-15-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250606142822.3387675-1-ross.burton@arm.com> References: <20250606142822.3387675-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 06 Jun 2025 14:28:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/218156 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 --- .../{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 --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'