-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've been working on making debootstrap and installing go faster, as they currently take about 5x longer than they should ( on ext4, it's even worse on btrfs ). I have patched debootstrap to add the eatmydata package to the required list and enable it for phase 2, and this makes the bootstrap 5x faster. I read that the actual installer uses cdebootstrap instead, so I have been looking at making the same changes to it and have some questions.
debootstrap manually extracts the required packages, and fakes a status file showing them to be unpacked before executing the extracted dpkg in a chroot to install the important packages. cdebootstrap does not bother faking the status file, so it ends up running dpkg to reinstall all of the manually extracted packages. This seems wasteful. In the debootstrap case, it is meant to be able to be run from a foreign system, so the manual extraction makes sense, but for the normal installer, it already has a functioning dpkg on the installer system, and it can be passed --root= to point it to the target rather than being run from the target in a chroot, so why not skip the extract phase and do this instead? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRHqIVAAoJEJrBOlT6nu75aawH/3yBF1tqWCC0K1N2yIb9hl9i /QuD99qSTVVQRPe1dvgroRYkc/snfdI+NuZYbTQAfrEScnNkX6ig48N71YcP3jJl JcnbsUI6sw1G6a9oEHYTYBawl8MFS3FY8/sBkGyXhQ8Jl44cibltSWxXj381bgRX 5vC6wwwoeM9XnqCPHXng67eSlx3hxTY5F80FHot8VMMV1DtNC0ffqxX5y1DGq1kS Vfg81fCQI7ssggqaBqpGLVxMqdCXepEVFI/MN676p2TcVifL1dXkPEDoUWScQi74 IV5TK/co9UWNdl4S9gE80Fdr8asW2SSc+6eJM2xZ04GTOMD/zidvTEkxaLjwII8= =japY -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/511ea215.1090...@ubuntu.com