From 6954fc516e8be6f2274554c7229184802e725f37 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Fri, 31 Dec 2021 14:13:49 +0800 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- meta-oe/recipes-support/lvm2/lvm2.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 43356c9cd52..cccc041bc3d 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\d+(\_\d+)+)" + inherit autotools-brokensep pkgconfig systemd LVM2_PACKAGECONFIG = "dmeventd"