pasta unknown version
in podman info
on arch linux
#22148
-
I don't know if it's a bug, but
and I don't know if |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
That is should be the output of |
Beta Was this translation helpful? Give feedback.
-
It is normal, unless you use git instead of tarballs for building: VERSION ?= $(shell git describe --tags HEAD 2>/dev/null || echo "unknown\ version") So your packaging build script need to pass VERSION explicitly: https://src.fedoraproject.org/rpms/passt/blob/rawhide/f/passt.spec
|
Beta Was this translation helpful? Give feedback.
-
This is a bug in containers-common, there is no filtering for Arch (yet) Like there is for Alpine: if cmdArg[0] == "/sbin/apk" {
prefix := cmdArg[len(cmdArg)-1] + " is owned by "
output = strings.Replace(output, prefix, "", 1)
} It probably also need to set the locale to Also needs to filter out the |
Beta Was this translation helpful? Give feedback.
It is normal, unless you use git instead of tarballs for building:
So your packaging build script need to pass VERSION explicitly:
https://src.fedoraproject.org/rpms/passt/blob/rawhide/f/passt.spec
%make_build passt VERSION="%{version}-%{release}.%{_arch}"