From patchwork Sun Jul 11 13:12:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 4505 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4GN6kZ4Q5sz3xCm for ; Sun, 11 Jul 2021 13:12:22 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4GN6kY2QQYz1Fg; Sun, 11 Jul 2021 13:12:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4GN6kY117Cz2xqw; Sun, 11 Jul 2021 13:12:21 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4GN6kW6TNhz2xLB for ; Sun, 11 Jul 2021 13:12:19 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4GN6kW0RqCzQK; Sun, 11 Jul 2021 13:12:19 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1626009139; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=TkR1Y1GGvKg07+C3+Tnst7m92D4Gi5M2LHtjWesZYxQ=; b=YAQaEkwom7Z6Tr+KnIQTtlP7LS0FpKb1yhdFs6A+MIJJzohnHvuiqfv9IdtyGNSWKHcjK7 tbM45rRIywbILTCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1626009139; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=TkR1Y1GGvKg07+C3+Tnst7m92D4Gi5M2LHtjWesZYxQ=; b=XD5h9TeLAZhK4UJ9d+DVEvCEzhpI3W+t1n+wla95YNVg+AWCDZ699iRzcQ088fkTF1yKKe +jhZSufNJgduebD2mCz3JwMl3bqw2DctEyEh/x2UqDmrmr3jBlgm4GyUpmmMl5sksKEkBd mJeLg8ULsfDUynqvWvA2sSzUp4oYOsPvUhng+waf+D1DYuLjvLLlmzDbnwHtJpSbEW1GM5 ivgCkiJl8I4B8q+C4/ZEb0qnLNcsm5b5f6kxZxvM8YBGT2UsLrOKJpaZiDI9e7meIseAcM LuVboVrPjZnGzkfl03ygoAfvOfMlAog/WLLDM+CkOydD/UNR47m0CCiUQg3W+g== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] make.sh: Explicitely call zstd to extract toolchain Date: Sun, 11 Jul 2021 14:12:15 +0100 Message-Id: <20210711131215.4142-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Some older versions of tar do not recognise Zstandard, yet. Signed-off-by: Michael Tremer Tested-by: Peter Müller --- make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.sh b/make.sh index 7bdeeaf62..13a48f461 100755 --- a/make.sh +++ b/make.sh @@ -1735,7 +1735,7 @@ build) PACKAGENAME=${PACKAGE%.tar.zst} print_build_stage "Packaged toolchain compilation" if [ `md5sum $PACKAGE | awk '{print $1}'` == `cat $PACKAGENAME.md5 | awk '{print $1}'` ]; then - tar axf $PACKAGE + zstd -d < "${PACKAGE}" | tar x prepareenv else exiterror "$PACKAGENAME md5 did not match, check downloaded package"