Skip to content

Commit

Permalink
lvm2: add UPSTREAM_CHECK_GITTAGREGEX
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
yizhao1 authored and kraj committed Jan 5, 2022
1 parent 3812ee8 commit 6954fc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meta-oe/recipes-support/lvm2/lvm2.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6954fc5

Please sign in to comment.