From 45a60884b8ce7a198d0fe0d970f1b0ff47ee125f Mon Sep 17 00:00:00 2001 From: Martin Schwan Date: Tue, 4 Nov 2025 16:07:40 +0100 Subject: [PATCH] kronosnet: Fetch version tag with BB_GIT_SHALLOW_EXTRA_REFS Fetch the needed Git tag by using BB_GIT_SHALLOW_EXTRA_REFS. This fixes the following autotools configuration error: | build-aux/git-version-gen: WARNING: .gitarchivever doesn't contain valid version tag | build-aux/git-version-gen: ERROR: Can't find valid version. Please use valid git repository, released tarball or version tagged archive | configure.ac:22: error: AC_INIT should be called with package and version arguments Signed-off-by: Martin Schwan Signed-off-by: Anuj Mittal --- meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb b/meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb index cbd5e7a0fd..06807bef47 100644 --- a/meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb +++ b/meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb @@ -16,6 +16,8 @@ SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1 \ file://0001-links.c-Fix-build-with-gcc-12.patch \ " +BB_GIT_SHALLOW_EXTRA_REFS = "refs/tags/v${PV}" + UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases" inherit autotools pkgconfig