On Wed, 30 Aug 2023 at 23:40:12 +0100, Simon McVittie wrote: > On Wed, 30 Aug 2023 at 16:27:12 +0100, Simon McVittie wrote: > > Part of the transition to merged-/usr, and more specifically, allowing > > us to stop shipping files in trixie whose physical path on disk does > > not match their path in the dpkg database due to directory aliasing. > > > > This change needs to be in bookworm (and bullseye, and maybe buster) > > before that process can continue, because official buildds run debootstrap > > from stable (or older). > > > > I also took the opportunity to backport changes that make the autopkgtests > > pass. > > Sorry, I should have mentioned that this is a (significant) d-i component > and so will presumably need a d-i ack.
I have attempted to test the proposed version in d-i. I am not an expert on d-i, but I hope what I have done here is approximately correct: * on a bookworm VM (the build VM): - git clone -b bookworm https://salsa.debian.org/installer-team/debian-installer.git debian-installer_bookworm - cd debian-installer_bookworm - sudo apt --no-install-recommends build-dep . - edit build/pkg-lists/base and add debootstrap-udeb to the list of packages to be bundled into the installer rather than downloaded from a mirror - this seemed easier than finding out how to add a second apt source for installer components - copy the proposed debootstrap-udeb_1.0.128+nmu2+deb12u1_all.udeb into debian-installer_bookworm/build/pkg-lists/base - make -C build reallyclean - fakeroot make -C build build_netboot-gtk * on the host system: - copy debian-installer_bookworm/build/dest/netboot/gtk/mini.iso from the build VM - boot a second VM from it (the installation VM) * in the installation VM: - proceed through the installation as usual - during the step "Installing the base system", send Ctrl+Alt+F2 and run "debootstrap --version" - the answer should be the proposed version - also run "less /usr/share/debootstrap/functions" - it should contain a comment "Previous implementation of merged /usr: not used within debootstrap," and so on, indicating that this is a version that includes Helmut's changes for "implement merged-/usr by post-merging" from 1.0.130 and my follow-up from 1.0.131 - go back to the GUI and continue installation - any package set will do, I installed GNOME - installation was successful - the installed system boots successfully - the installed system is merged-/usr I hope this is helpful information. smcv