mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
The Debian 12 Bookworm snapshot we use, 20250203, uses the new deb822 format [0] for source list files; it carries a source list file that points to the current repository, not to the snapshot. Even though we do inject an old-style source list that points to the snapshot repository, the packages in the current repository are more recent than the one in the snapshot, so when we install our packages, they get retrieved mostly from the current repository rather than from the snapshot. The image is not reproducible. Switch to using the new deb822-style source list file. Note: we do not need to carry the "Latest just before" trick: the snapshot repository will use the most recent actual snapshot before the requested dated, so we can just use the date of the image we use (stuck at midnight because we don't have better). Since the snapshot repository can be really slow, while at the same time the remote http server not dropping connections, it can take a very long while to build the image; add a timeout so that stale connections are detected and re-attemped early-ish (the timeout applies to both the connect and the actual download, so it should be large enough to accomodate slowish network connections). Fixes:c95d5b8e1e(support/docker: move to current bookworm (Debian 12) snapshot) [0] https://manpages.debian.org/trixie/apt/sources.list.5.en.html#DEB822-STYLE_FORMAT Signed-off-by: Yann E. MORIN <yann.morin@orange.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Romain Naour <romain.naour@smile.fr> Signed-off-by: Romain Naour <romain.naour@smile.fr> (cherry picked from commit3460675872) Signed-off-by: Thomas Perale <thomas.perale@mind.be>