Use homogenous Debian mirrors at build time
Originally created by @intrigeri on #8726 (Redmine)
We’re currently hard-coding very little about the Debian mirrors we use at build time in our Git tree.
Historically, this was meant to allow people to choose their preferred
mirror (e.g. local mirror) and to cope with squid-deb-proxy’s lack of
flexibility. Nowadays, most of us use apt-cacher-ng
, that can rewrite
such URLs on the fly if needed (generally a bad idea, but oh well), so
probably we don’t need this flexibility anymore.
Besides, this level of flexibility has just hit us hard, by introducing a bug (#8715 (closed)) that has taken many hours to 3 of us to debug. More generally, our stuff will be more consistent, easier to reproduce, and our QA process will be more reliable if we all use the same mirrors at build time as the one we configure in the ISO.
So, I plan to:
- hard-code in
auto/config
all mirrors that shall be used at build time - update
vagrant/provision/setup-tails-builder
so that it doesn’t configureLB_MIRROR_BINARY
norLB_PARENT_MIRROR_BINARY
, and deconfigures them if present - update
tails::builder
so that it doesn’t configureLB*MIRROR*
, and deconfigures them if present - update
wiki/src/contribute/build.mdwn
so that it doesn’t advise to set$LB*MIRROR*
- ask for comments about it to tails-dev@, before sending a pull request
Feature Branch: feature/8726-use-homogenous-Debian-mirrors-at-build-time
Related issues
- Related to #8715 (closed)