mirror of
https://github.com/vhaudiquet/ecrou.git
synced 2026-11-12 22:22:44 +00:00
Ubuntu tarballs came from the daily/current directories - moving targets, no published checksums guarantee, gone when a release EOLs. resolve_ubuntu_url now builds the cdimage release URL: ubuntu-base/releases/<YY.MM>/release/ubuntu-base-<YY.MM>-base-<arch>.tar.gz, whose SHA256SUMS the existing checksum verification consumes. Resolution returns the YY.MM number (the cache key follows), and accepts the codename interchangeably: a static table maps the known codenames offline - ubuntu:resolute and ubuntu:26.04 are the same image and the same entry - with meta-release as a fallback for codenames newer than the table. Floating aliases (latest/lts) still consult meta-release; explicit numbers never touch the network, which also removes the per-cache-path network lookup generate_cache_filename used to trigger for codename inputs. URLs verified live: tarball and SHA256SUMS both 200.