From b4b8251b71be76c6630d5e7fc21a4d0fb1f21b9b Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Sat, 28 Sep 2024 17:33:51 +0800 Subject: [PATCH] ipmtool: add UPSTREAM_CHECK_GITTAGREGEX Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable verison. Before the patch: $ devtool latest-version ipmitool INFO: Current version: 1.8.19 INFO: Latest version: 10. INFO: Latest version's commit: 990f9672c9581ab5fcb6bfed98f5da12edd29411 After the patch: $ devtool latest-version ipmitool INFO: Current version: 1.8.19 INFO: Latest version: 1.8.19 INFO: Latest version's commit: 19d78782d795d0cf4ceefe655f616210c9143e62 Signed-off-by: Yi Zhao Signed-off-by: Khem Raj --- meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb b/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb index dcd3edaf34..f53150cfa4 100644 --- a/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb +++ b/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb @@ -26,6 +26,9 @@ SRC_URI = "git://codeberg.org/ipmitool/ipmitool;protocol=https;branch=master \ ${IANA_ENTERPRISE_NUMBERS} \ file://0001-csv-revision-Drop-the-git-revision-info.patch \ " + +UPSTREAM_CHECK_GITTAGREGEX = "IPMITOOL_(?P\d+(_\d+)+)" + IANA_ENTERPRISE_NUMBERS ?= "" # Add these via bbappend if this database is needed by the system