diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-12-31 14:13:49 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-01-05 08:17:18 -0800 |
commit | 6954fc516e8be6f2274554c7229184802e725f37 (patch) | |
tree | 847b46bf8aa66fd88c1561c676834327850a8135 /meta-oe | |
parent | 3812ee8d0c6906b22ce58145eeab865390d64506 (diff) | |
download | meta-openembedded-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')
-rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2.inc | 2 |
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 43356c9cd..cccc041bc 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 \ | |||
21 | SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6" | 21 | SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6" |
22 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
23 | 23 | ||
24 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)" | ||
25 | |||
24 | inherit autotools-brokensep pkgconfig systemd | 26 | inherit autotools-brokensep pkgconfig systemd |
25 | 27 | ||
26 | LVM2_PACKAGECONFIG = "dmeventd" | 28 | LVM2_PACKAGECONFIG = "dmeventd" |