summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2025-04-27 23:28:42 +0200
committerKhem Raj <raj.khem@gmail.com>2025-04-28 06:49:23 -0700
commitdd40c65866c00ad50825045f155d671e877003b4 (patch)
treee1d67c9252f37aa1af140eea46fe77de7b42acdd
parent87779ef30618af3c3b660c4d063f868bb8f01b54 (diff)
downloadmeta-openembedded-dd40c65866c00ad50825045f155d671e877003b4.tar.gz
corosync: fix upstream version check
github-releases is needed that it work at all: ERROR: Automatic discovery of latest version/revision failed - you must provide a version using the --version/-V option, or for recipes that fetch from an SCM such as git, the --srcrev/-S option. UPSTREAM_CHECK_GITTAGREGEX is needed to get correct version, otherwise: $ devtool latest-version corosync ... INFO: Current version: 3.1.6 INFO: Latest version: 414.336.75.75.75 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-extended/corosync/corosync_3.1.6.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-networking/recipes-extended/corosync/corosync_3.1.6.bb b/meta-networking/recipes-extended/corosync/corosync_3.1.6.bb
index cbbbbc70cd..e8e4540a21 100644
--- a/meta-networking/recipes-extended/corosync/corosync_3.1.6.bb
+++ b/meta-networking/recipes-extended/corosync/corosync_3.1.6.bb
@@ -5,13 +5,13 @@ HOMEPAGE = "http://corosync.github.io/corosync/"
5 5
6SECTION = "base" 6SECTION = "base"
7 7
8inherit autotools pkgconfig systemd 8inherit autotools pkgconfig systemd github-releases
9 9
10SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz \ 10SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
11 file://corosync.conf \ 11 file://corosync.conf \
12 " 12 "
13SRC_URI[sha256sum] = "ca6ed32b4d7f33ed614afce8760fe58d0de92c68b575d4969ebacd892f3d1e27" 13SRC_URI[sha256sum] = "ca6ed32b4d7f33ed614afce8760fe58d0de92c68b575d4969ebacd892f3d1e27"
14UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.(?!99)\d+(\.\d+)+)" 14UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
15 15
16LICENSE = "BSD-3-Clause" 16LICENSE = "BSD-3-Clause"
17LIC_FILES_CHKSUM = "file://LICENSE;md5=a85eb4ce24033adb6088dd1d6ffc5e5d" 17LIC_FILES_CHKSUM = "file://LICENSE;md5=a85eb4ce24033adb6088dd1d6ffc5e5d"