The k3s project is using as version the git tag:
https://github.com/k3s-io/k3s/blob/master/scripts/version.sh#L58
This patch applies that logic in the build artifacts.

Signed-off-by: Vasileios Anagnostopoulos <[email protected]>
---
 recipes-containers/k3s/k3s_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/k3s/k3s_git.bb 
b/recipes-containers/k3s/k3s_git.bb
index 66ff523..23bd783 100644
--- a/recipes-containers/k3s/k3s_git.bb
+++ b/recipes-containers/k3s/k3s_git.bb
@@ -19,7 +19,7 @@ SRC_URI[k3s.md5sum] = "363d3a08dc0b72ba6e6577964f6e94a5"
 SRCREV_k3s = "24da6adfa98cd05849edf1c42de3862f843a05f4"
 
 SRCREV_FORMAT = "k3s_fuse"
-PV = "v1.24.3+k3s1+git${SRCREV_k3s}"
+PV = "v1.24.3+k3s1"
 
 include src_uri.inc
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7580): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7580
Mute This Topic: https://lists.yoctoproject.org/mt/93344106/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to