fwupd: include UPSTREAM_CHECK_REGEX to fix UNKNOWN_BROKEN status

Adding UPSTREAM_CHECK_REGEX fix UNKNOWN_BROKEN status
from running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
This commit is contained in:
Alexandre Truong 2024-07-19 15:36:49 +02:00 committed by Khem Raj
parent dc1ba53bf3
commit 7125ce1aae
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -9,6 +9,7 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz
SRC_URI[sha256sum] = "4e554f77a8a73383a41d5637b62e6c8a8936e66cd1d18585baf29d7fe47fc4d7"
UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
# Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins
PACKAGE_ARCH = "${MACHINE_ARCH}"