On Tue, Aug 30, 2022 at 3:56 AM Vasileios Anagnostopoulos
<[email protected]> wrote:
>
> 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"

The first patch is fine, but I won't apply this one, as this is an on
purpose decision.

We are not always on tags, and we need the +git in our version. I
won't bounce it in and out of having git+ as we move through versions,
so the git is always present.

Bruce

>
>  include src_uri.inc
>
> --
> 2.34.1
>
>
> 
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7582): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7582
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