On 2019-05-18, Chris Lamb wrote: >> Now, regarding building d-i as a normal package, I hit a bit of a >> readblock because it fails while trying to download the files in the >> nodes running in the future. > > Sounds about right: > > > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/debian-installer.html > > get-packages udeb > make[10]: 'sources.list.udeb' is up to date. > Get:3 copy:/build/debian-installer-20190410/2nd/build localudebs/ > Packages [20 B] ... > Get:4 http://cdn-fastly.deb.debian.org/debian buster InRelease [163 kB] > Reading package lists... > E: Release file for http://deb.debian.org/debian/dists/buster/InRelease > is expired (invalid since 391d 12h 5min 44s). Updates for this repository > will not be applied. > >> What d-i does it copying the url from the host's (or, well, the >> chroot's) /etc/apt/sources.list, but it seems it doesn't also pick up an >> eventual [check-valid-until=no] placed on the same line :\ > > Nod. Any further thoughts on this? It would be great to see where we > are at here...
Colin Watson removed it back in 2011: https://salsa.debian.org/installer-team/debian-installer/commit/fa965c32ca8bfa2ff14886c6f0dca131532815c7 commit fa965c32ca8bfa2ff14886c6f0dca131532815c7 Author: Colin Watson <cjwat...@debian.org> Date: Mon Mar 14 18:08:25 2011 +0000 Skip the option field in sources.list lines, if present. diff --git a/build/util/gen-sources.list.udeb b/build/util/gen-sources.list.udeb index e86b4fa66..9f140100e 100755 --- a/build/util/gen-sources.list.udeb +++ b/build/util/gen-sources.list.udeb @@ -36,6 +36,7 @@ get_mirrors() { [ -s $file ] || continue grep '^deb[[:space:]]' $file | \ grep -v '^deb[[:space:]]\+cdrom:' | \ + sed 's,^deb \[[^]]*\] ,deb ,' | \ grep -v '\(security.debian.org\|volatile.debian.\(net\|org\)\)' | \ grep '[[:space:]]main' | \ awk '{print $1 " " $2}' | \ Happen to remember what it breaks to have these present? If it was a workaround, perhaps it is no longer needed? live well, vagrant
signature.asc
Description: PGP signature