diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2021-12-31 14:13:50 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-01-05 08:17:18 -0800 |
| commit | 86e98840da4ecab2a9dc3ce517d8327c49129986 (patch) | |
| tree | 2858d1f629d83f4c2558c95a4505508a2b2c1ba3 /meta-oe | |
| parent | 6954fc516e8be6f2274554c7229184802e725f37 (diff) | |
| download | meta-openembedded-86e98840da4ecab2a9dc3ce517d8327c49129986.tar.gz | |
ndctl: add UPSTREAM_CHECK_GITTAGREGEX
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version.
Before the patch:
$ devtool latest-version ndctl
INFO: Current version: v69
INFO: Latest version: 20150514
INFO: Latest version's commit: b6c7999a9f0115bac0d55f0d278674b03b0dd19e
After the patch:
$ devtool latest-version ndctl
INFO: Current version: v69
INFO: Latest version: v72
INFO: Latest version's commit: 25062cf34c70012f5d42ce1fef7e2dc129807c10
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-core/ndctl/ndctl_v69.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/ndctl/ndctl_v69.bb b/meta-oe/recipes-core/ndctl/ndctl_v69.bb index 0490b8fb6c..b848ca63c5 100644 --- a/meta-oe/recipes-core/ndctl/ndctl_v69.bb +++ b/meta-oe/recipes-core/ndctl/ndctl_v69.bb | |||
| @@ -13,6 +13,8 @@ inherit autotools-brokensep pkgconfig bash-completion systemd | |||
| 13 | SRCREV = "ea62d6d53bf6f806c4841e97a370201e18446860" | 13 | SRCREV = "ea62d6d53bf6f806c4841e97a370201e18446860" |
| 14 | SRC_URI = "git://github.com/pmem/ndctl.git;branch=master;protocol=https" | 14 | SRC_URI = "git://github.com/pmem/ndctl.git;branch=master;protocol=https" |
| 15 | 15 | ||
| 16 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>v\d+(\.\d+)*)" | ||
| 17 | |||
| 16 | DEPENDS = "kmod udev json-c keyutils" | 18 | DEPENDS = "kmod udev json-c keyutils" |
| 17 | 19 | ||
| 18 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
