On Thursday 15 January 2009, Aurelien Jarno wrote: > Log: > quik-installer: Set initramfs to MODULES=dep, and regenerate the > initrd. > > +# Set initramfs to MODULES=dep and regenerate the initramfs > +sed -i -e 's/MODULES=most/MODULES=dep/g' > /target/etc/initramfs-tools/initramfs.conf > +in-target update-initramfs > -u || true
This is really a rather ugly solution because there really is no need to generate the initrd twice. It is also RC buggy as it means you mess around with another package's conf file, which is a policy violation. On IRC I suggested two alternative ways to do this: 21:58:18 > fjp: aurel32: Other options to set modules=dep are to code it in base-installer, or to include a one-liner preseed file in the initrd at build time. 22:00:06 > fjp: For base-installer, see library.sh from line 559. Maybe we should let this slide because of the closeness of the release, but please implement it in a cleaner manner in the near future. Cheers, FJP
signature.asc
Description: This is a digitally signed message part.