From: Remi Gacogne Date: Fri, 14 Feb 2025 15:51:37 +0000 (+0100) Subject: Rust moved to XZ compression X-Git-Tag: dnsdist-2.0.0-alpha1~79^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b152da3e752858406189f5a360d967e8bdd816f;p=thirdparty%2Fpdns.git Rust moved to XZ compression --- diff --git a/builder-support/helpers/install_rust.sh b/builder-support/helpers/install_rust.sh index dc5f07100d..0100625e61 100755 --- a/builder-support/helpers/install_rust.sh +++ b/builder-support/helpers/install_rust.sh @@ -14,7 +14,7 @@ if [ $# -ge 1 ]; then fi SITE=https://downloads.powerdns.com/rust -RUST_TARBALL=$RUST_VERSION.tar.gz +RUST_TARBALL=$RUST_VERSION.tar.xz SHA256SUM_x86_64=$(jq -r .SHA256SUM_x86_64 < rust.json) SHA256SUM_aarch64=$(jq -r .SHA256SUM_aarch64 < rust.json) @@ -46,7 +46,7 @@ echo $0: Expecting hash $VALUE # Line below should echo two spaces between digest and name echo $VALUE" "$RUST_TARBALL | sha256sum -c - rm -rf $RUST_VERSION -tar -zxf $RUST_TARBALL +tar -Jxf $RUST_TARBALL cd $RUST_VERSION ./install.sh --prefix=/usr --components=rustc,rust-std-$ARCH-unknown-linux-gnu,cargo