use tar.xz archives

This commit is contained in:
Sebastian Hugentobler 2022-02-12 14:22:41 +00:00
parent 790a0eaf02
commit e78c2aa45c

View File

@ -10,8 +10,8 @@ case $TARGETPLATFORM in
;;
esac
DOWNLOAD="https://github.com/just-containers/s6-overlay/releases/download/$S6_OVERLAY_VERSION/s6-overlay-$ARCH.tar.gz"
DOWNLOAD="https://github.com/just-containers/s6-overlay/releases/download/$S6_OVERLAY_VERSION/s6-overlay-$ARCH.tar.xz"
wget "$DOWNLOAD"
sha256_name=SHA256_$ARCH && echo "${!sha256_name} /s6-overlay-$ARCH.tar.gz" | sha256sum -c - || exit 1
mv /s6-overlay-$ARCH.tar.gz /s6-overlay.tar.gz
sha256_name=SHA256_$ARCH && echo "${!sha256_name} /s6-overlay-$ARCH.tar.xz" | sha256sum -c - || exit 1
mv /s6-overlay-$ARCH.tar.xz /s6-overlay.tar.xz