summaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2026-04-10 09:02:23 -0700
committerBrad Fitzpatrick <bradfitz@tailscale.com>2026-04-10 09:02:23 -0700
commita4f623ad4b76582c189986e540d9c7cea28dc579 (patch)
treefdef48f471b9b2c247f743b2223dffdb806a3e4d /cmd
parent647bab9acdf3b8b362be89dbcef4724f6753549e (diff)
downloadtailscale-bradfitz/tailmac.tar.xz
tailscale-bradfitz/tailmac.zip
tstest/build-macos-base-vm: cache IPSW in ~/.cache with freshness checksbradfitz/tailmac
The IPSW restore image (~15GB) is now cached in ~/.cache/tailscale/vmtest/macos-ipsw/ and only re-downloaded when Apple publishes a new version. Freshness is checked via HTTP ETag headers. At most one IPSW is kept in the cache directory. The Go program now handles the download itself (with progress reporting) rather than delegating to the Swift helper, which lets us do proper HTTP conditional requests. The Swift helper is split into two modes: "fetch-ipsw-url" (queries VZ framework for the latest URL) and "install" (installs from a local IPSW file).
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions