I'm considering a patch for the base-installer postinst to check if the default generators are actually available. For example, even if both are defined in base-installer for an arch, it is possible that only one is included on a netinst CD. This patch would have the following check ($irf being yaird or initramfs-tools): if chroot /target apt-cache policy $irf | \ grep "Candidate:" | grep -v "(none)" >/dev/null 2>&1; then # generator is available fi I have tested that this test works, but am unsure if the use of apt-cache is the best option? Cheers, FJP
Attachment:
pgpAGzogvQeZZ.pgp
Description: PGP signature