summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwan <m.schwan@phytec.de>2025-10-17 16:53:37 +0200
committerKhem Raj <raj.khem@gmail.com>2025-10-17 08:32:04 -0700
commitd69edd91671a94af956a31421870ecd6c098e851 (patch)
tree6aa9b220b734d035dc5010ccd437d56017aff0de
parentf955474be2bfb8f345147bd4d9aac6364a0af25b (diff)
downloadmeta-openembedded-d69edd91671a94af956a31421870ecd6c098e851.tar.gz
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 <m.schwan@phytec.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-extended/kronosnet/kronosnet_1.31.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-extended/kronosnet/kronosnet_1.31.bb b/meta-networking/recipes-extended/kronosnet/kronosnet_1.31.bb
index d4b76903c4..d95bb81278 100644
--- a/meta-networking/recipes-extended/kronosnet/kronosnet_1.31.bb
+++ b/meta-networking/recipes-extended/kronosnet/kronosnet_1.31.bb
@@ -14,6 +14,8 @@ DEPENDS = "doxygen-native libqb-native libxml2-native bzip2 libqb libxml2 libnl
14SRCREV = "da73f2a1e0ffe2aee15d4f705edf90ee8445e2d4" 14SRCREV = "da73f2a1e0ffe2aee15d4f705edf90ee8445e2d4"
15SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1;tag=v${PV}" 15SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1;tag=v${PV}"
16 16
17BB_GIT_SHALLOW_EXTRA_REFS = "refs/tags/v${PV}"
18
17UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases" 19UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases"
18 20
19inherit autotools pkgconfig 21inherit autotools pkgconfig