On Mon, Feb 13, 2006 at 02:28:05AM +0100, Frans Pop wrote: > 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? What will we gain by the check? > Cheers, > FJP GSt
Attachment:
signature.asc
Description: Digital signature