install_map_tools: fix pmtiles x86_64 asset name (was 404 on amd64).
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Controller Tests / controller-tests (push) Waiting to run
Jest Tests / jest-tests (push) Waiting to run

go-pmtiles release assets are named ..._Linux_x86_64.tar.gz, not _amd64;
the #538 consolidation used $arch=amd64 in the URL, so every amd64 build
(Debian Live ISO, docker) 404'd installing pmtiles and the wrolpi chroot
hook failed.  Use x86_64 for the URL arch on x86_64 hosts; the SHA var and
the aarch64 (arm64) path are unchanged and already correct.

Verified: both v1.30.1 tarballs download and match the pinned SHAs
(x86_64 23a2a222..., arm64 a1f9f42d...).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Roland 2026-07-15 16:20:53 -06:00
parent 899ab13964
commit bad16684a4
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -29,7 +29,7 @@ install_pmtiles() {
local arch sha
case "$(uname -m)" in
aarch64) arch="arm64"; sha="${PMTILES_SHA256_arm64}" ;;
x86_64) arch="amd64"; sha="${PMTILES_SHA256_amd64}" ;;
x86_64) arch="x86_64"; sha="${PMTILES_SHA256_amd64}" ;;
*) echo "Unsupported architecture for pmtiles: $(uname -m)"; return 1 ;;
esac