We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The tag of the img in a repository is correct, e.g.: tumbleweed-standard-arm64-rpi4-v2.4.2-k3sv1.28.2-k3s1-img
tumbleweed-standard-arm64-rpi4-v2.4.2-k3sv1.28.2-k3s1-img
However, when extracted:
$ IMAGE=quay.io/kairos/opensuse:tumbleweed-standard-arm64-rpi4-v2.4.2-k3sv1.28.2-k3s1-img $ docker run -ti --rm -v $PWD/build:/build quay.io/luet/base util unpack "$IMAGE" /build INFO Downloading quay.io/kairos/opensuse:tumbleweed-standard-arm64-rpi4-v2.4.2-k3sv1.28.2-k3s1-img to /build INFO Pulled: sha256:419bf5032f4b7555678fe7aed89b90363c2516f19546f994b4b7e65f0297ad35 quay.io/kairos/opensuse:tumbleweed-standard-arm64-rpi4-v2.4.2-k3sv1.28.2-k3s1-img INFO Size: 2.03GiB
The resulting file, contains the wrong arch in the name:
$ ls build/*img.xz build/kairos-opensuse-tumbleweed-standard-amd64-rpi4-v2.4.2-k3sv1.28.2+k3s1.img.xz
The text was updated successfully, but these errors were encountered:
The issue seems to come from
https://github.com/kairos-io/kairos/blob/0f9499de70e24bf6cb69b6fa253daf59070e1083/Earthfile#L810C2-L810C2
Because it will assume the TARGETARCH of whichever HOST platform it is running, since it is not forced on the caller
kairos/Earthfile
Line 99 in 0f9499d
However, forcing it makes the process, really slow, so maybe we need to introduce an in between step
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The tag of the img in a repository is correct, e.g.:
tumbleweed-standard-arm64-rpi4-v2.4.2-k3sv1.28.2-k3s1-img
However, when extracted:
The resulting file, contains the wrong arch in the name:
The text was updated successfully, but these errors were encountered: