From bad16684a4647dc9d667f5d742930d31af920899 Mon Sep 17 00:00:00 2001 From: Roland Date: Wed, 15 Jul 2026 16:20:53 -0600 Subject: [PATCH] install_map_tools: fix pmtiles x86_64 asset name (was 404 on amd64). 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) --- wrolpi/scripts/install_map_tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrolpi/scripts/install_map_tools.sh b/wrolpi/scripts/install_map_tools.sh index 094ead78..3902749f 100755 --- a/wrolpi/scripts/install_map_tools.sh +++ b/wrolpi/scripts/install_map_tools.sh @@ -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