summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2024-01-04 23:36:55 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-09 22:59:28 +0000
commit14220bb99c2b93c398b7714321082c1a01aef36a (patch)
tree8bb335fb6e90102ec7835ee2984eb322c6dcdd29 /meta
parentf01ea3700e1ebc1061a135191e7aa7526cd27d4a (diff)
downloadpoky-14220bb99c2b93c398b7714321082c1a01aef36a.tar.gz
libusb1: Do not match on -rc versions
Currently, the upstream check gives incorrect results: $ devtool latest-version libusb1 ... INFO: Current version: 1.0.26 INFO: Latest version: 1.0.27 There is no 1.0.27 release yet, only 1.0.27-rc1. Anuj Mittal has submitted the fix in v2: https://lists.openembedded.org/g/openembedded-core/message/192683 but the original version was applied instead. Fix it by passing "$" to make an exact match on the version. With this change applied, devtool reports the correct latest version: INFO: Current version: 1.0.26 INFO: Latest version: 1.0.26 (From OE-Core rev: 81b97e4727592e4abbbab284b8d8161c1eda52b8) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/libusb/libusb1_1.0.26.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/libusb/libusb1_1.0.26.bb b/meta/recipes-support/libusb/libusb1_1.0.26.bb
index 1b93a80f3e..2af6fcdea7 100644
--- a/meta/recipes-support/libusb/libusb1_1.0.26.bb
+++ b/meta/recipes-support/libusb/libusb1_1.0.26.bb
@@ -16,7 +16,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libusb-${PV}.tar.bz2 \
16 " 16 "
17 17
18GITHUB_BASE_URI = "https://github.com/libusb/libusb/releases" 18GITHUB_BASE_URI = "https://github.com/libusb/libusb/releases"
19UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)" 19UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
20 20
21SRC_URI[sha256sum] = "12ce7a61fc9854d1d2a1ffe095f7b5fac19ddba095c259e6067a46500381b5a5" 21SRC_URI[sha256sum] = "12ce7a61fc9854d1d2a1ffe095f7b5fac19ddba095c259e6067a46500381b5a5"
22 22