aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2021-12-31 14:13:49 +0800
committerKhem Raj <raj.khem@gmail.com>2022-01-05 08:17:18 -0800
commit6954fc516e8be6f2274554c7229184802e725f37 (patch)
tree847b46bf8aa66fd88c1561c676834327850a8135 /meta-oe/recipes-support
parent3812ee8d0c6906b22ce58145eeab865390d64506 (diff)
downloadmeta-openembedded-contrib-6954fc516e8be6f2274554c7229184802e725f37.tar.gz
lvm2: add UPSTREAM_CHECK_GITTAGREGEX
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version. Before the patch: $ devtool latest-version lvm2 INFO: Current version: 2.03.11 INFO: Latest version: 19990504 INFO: Latest version's commit: af9010d115cd3b97939cec0120126aba262ec57a After the patch: $ devtool latest-version lvm2 INFO: Current version: 2.03.11 INFO: Latest version: 2.03.14 INFO: Latest version's commit: ef4521831d15a1785e034f6c6f536a03446f6e05 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 43356c9cd5..cccc041bc3 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -21,6 +21,8 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \
SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6"
S = "${WORKDIR}/git"
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)"
+
inherit autotools-brokensep pkgconfig systemd
LVM2_PACKAGECONFIG = "dmeventd"