Le vendredi 31 juillet à 13h 15mn 58s (+0200), Samuel Thibault a écrit : > наб, le ven. 31 juil. 2020 12:50:45 +0200, a ecrit: > > On Thu, Jul 30, 2020 at 11:00:26PM +0200, Samuel Thibault wrote: > > > jhcha54008, le mar. 28 juil. 2020 10:39:40 +0200, a ecrit: > > > > I wonder if the versioned dependency of apt-mirror-setting on > > > > base-installer > > > > is necessary. > > > AIUI it is for getting the is_ports_architecture function from > > > /usr/lib/base-installer/library.sh? > > It was, yes. > > > > > Mmm, possibly, are we sure that choose-mirror is always installed in > > > d-i? It seems that monolithic/netboot have it anyway, and cdrom installs > > > it already? наб, perhaps you can try and check that it works? > > I repacked today's hurd netinst with an edited apt-mirror-setup and > > /usr/lib/choose-mirror/port_architecture was present with "1" in it > > when the script ran, I hope that's a good test? > > Netinst is not the only installation media, you also have monolithic, > netboot, hd-image, cd, and anything I don't remember. > > Samuel
Hi again, As far as I can check, the file : /usr/lib/choose-mirror/port_architecture is shipped in the udeb package choose-mirror-bin and it is present everywhere choose-mirror-bin is unpacked. choose-mirror depends on choose-mirror-bin and apt-setup-mirror depends on choose-mirror, so it's there when apt-setup-mirror runs (actually, is configured). debian-installer includes choose-mirror in the native-hd, monolithic, netboot, netboot-apus and generic images [1]. choose-mirror is not included in the cdrom image of debian-installer, but loaded by anna from the cdrom. debian-cd includes choose-mirror in the dynamic task 'debian-installer' and in the businesscards [2]. I hope it will help ! Regards, JH Chatenet [1] : build/pkg-lists/*/common in source package debian-installer [2] : data/{bullseye,buster,jessie,stretch}/*_businesscard_udeb_include in source package debian-cd