From 80740b1d3c7ce2910410a7b49ca1e3bb012d3d4a Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Sun, 5 Mar 2023 15:26:47 +0800 Subject: frr: add UPSTREAM_CHECK_GITTAGREGEX Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable verison. Before the patch: $ devtool latest-version frr INFO: Current version: 8.4.2 INFO: Latest version: 9.0 INFO: Latest version's commit: 16c38045b1a84f899da473398779cc593d82d2bd Version 9.0 is a development tag[1]. After the patch: $ devtool latest-version frr INFO: Current version: 8.4.2 INFO: Latest version: 8.4.2 INFO: Latest version's commit: 9e25d07412e92bdcd1f69c4755dc7564b23023c0 [1] https://github.com/FRRouting/frr/tags Signed-off-by: Yi Zhao Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/frr/frr_8.4.2.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-networking') diff --git a/meta-networking/recipes-protocols/frr/frr_8.4.2.bb b/meta-networking/recipes-protocols/frr/frr_8.4.2.bb index 2cbcbb3ce6..e5082e2e6c 100644 --- a/meta-networking/recipes-protocols/frr/frr_8.4.2.bb +++ b/meta-networking/recipes-protocols/frr/frr_8.4.2.bb @@ -16,6 +16,8 @@ SRC_URI = "git://github.com/FRRouting/frr.git;protocol=https;branch=stable/8.4 \ SRCREV = "62ac43de9f3bc470586cf4f51fadf013bf542b32" +UPSTREAM_CHECK_GITTAGREGEX = "frr-(?P\d+(\.\d+)+)$" + S = "${WORKDIR}/git" # Due to libyang not supported on these arches: -- cgit v1.2.3-54-g00ecf