From 9b85b121861b66008707fc9b66d191cdb71a3f19 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Sun, 29 Oct 2023 15:18:55 +0000 Subject: [PATCH] test/GNUmakefile: Switch to SHA-256 for Arch bootstrap tarball Newer tarballs use this hash function. Unblocks automatically updating it using Renovate. --- test/GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/GNUmakefile b/test/GNUmakefile index 0f00aeef..1a738ad2 100644 --- a/test/GNUmakefile +++ b/test/GNUmakefile @@ -160,7 +160,7 @@ $(COVERAGE_REPORT) : $(SRC) $(TESTSUITE) $(BASH_DEP) .simplecov ARCH_DATE=2022.04.05 ARCH_TAR_FN=archlinux-bootstrap-$(ARCH_DATE)-x86_64.tar.gz ARCH_TAR_URL=https://archive.archlinux.org/iso/$(ARCH_DATE)/$(ARCH_TAR_FN) -ARCH_TAR_SHA1=f06fe3d7a9427b62a07ec62a240b5c692e39eb6f +ARCH_TAR_SHA256=4c5f4d0a77151781642ed1d450cd4b638581e5fe02be835759ae8e540fd0e08b ARCH_TAR_DIR=$(TMP)/arch ARCH_TAR=$(ARCH_TAR_DIR)/$(ARCH_TAR_FN) @@ -169,7 +169,7 @@ $(ARCH_TAR_DIR) : | $(TMP) $(ARCH_TAR) : | $(ARCH_TAR_DIR) curl --fail --output $@.tmp $(ARCH_TAR_URL) - printf "%s %s\n" $(ARCH_TAR_SHA1) $@.tmp | sha1sum -c + printf "%s %s\n" $(ARCH_TAR_SHA256) $@.tmp | sha256sum -c mv $@.tmp $@ DOCKER=docker