~bigbes/ci-cacher: 46be89f3

install.sh: verify checksums without coreutils extensions; bump to 0.2.1

sha256sum -c --ignore-missing is a coreutils extension. Alpine ships
busybox sha256sum, which prints its usage and exits non-zero, so the
bootstrap died with a 'checksum mismatch' that was nothing of the sort —
on the exact distro the sr-ht-cover manifest builds on. Pull the expected
hash out of checksums.txt with awk and compare strings instead; busybox,
coreutils and macOS shasum all agree on 'sha256sum FILE'.

Also stage the binary inside the target directory and rename it into
place, so an install over a running cacher can't hit ETXTBSY.

Verified against the published release on alpine:edge (busybox) and
ubuntu:noble (coreutils), and across all four published assets by faking
uname: Linux/x86_64, Linux/aarch64, Darwin/x86_64, Darwin/arm64 each
fetch the matching binary and verify.

Eugene Blikh <bigbes@gmail.com> — 2026-08-06 22:09:19 UTC

Commit 46be89f3e30bff634a7699be89964749a16611d9view raw patch

Parent(s): 8851cb58

3 changed file(s)

FileStatus+
CHANGELOG.md M +13
VERSION M +1 -1
install.sh M +32 -18