From f2a00978470aefa5c58c61ca1cc3b10eae1e1cc6 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 29 May 2024 13:24:24 -0500 Subject: [PATCH] fixup! feat: use Sha256 instead of Sha1 fix sysroot-creator.sh too --- build/linux/sysroot_scripts/sysroot-creator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/linux/sysroot_scripts/sysroot-creator.sh b/build/linux/sysroot_scripts/sysroot-creator.sh index ea2bde6..af41bdd 100755 --- a/build/linux/sysroot_scripts/sysroot-creator.sh +++ b/build/linux/sysroot_scripts/sysroot-creator.sh @@ -915,7 +915,7 @@ BuildSysroot() { } UploadSysroot() { - local sha=$(sha1sum "${TARBALL}" | awk '{print $1;}') + local sha=$(sha256sum "${TARBALL}" | awk '{print $1;}') local tarball_name="$(basename "${TARBALL}")" set -x az storage blob upload -f "${TARBALL}" -c linux-sysroots -n $sha/"${tarball_name}"