From: Ross Burton Date: Mon, 9 Jun 2025 11:19:40 +0000 (+0100) Subject: squashfs-tools: put version in recipe filename X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8529dbae1b345d1517023dae09637a4baad9ffe8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git squashfs-tools: put version in recipe filename 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, drop the explicit PV, and set the tag name in the SRC_URI to verify the SHA. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.6.1.bb similarity index 99% rename from meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb rename to meta/recipes-devtools/squashfs-tools/squashfs-tools_4.6.1.bb index 982a43f8899..51a2fbdb934 100644 --- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb +++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.6.1.bb @@ -7,9 +7,9 @@ SECTION = "base" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -PV = "4.6.1" -SRCREV = "d8cb82d9840330f9344ec37b992595b5d7b44184" SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=v6.1.1" +SRCREV = "d8cb82d9840330f9344ec37b992595b5d7b44184" + UPSTREAM_CHECK_GITTAGREGEX = "(?P(\d+(\.\d+)+))" S = "${WORKDIR}/git"