On Jan 14, 2012, at 12:27 AM, Bryan Kadzban wrote: > It'll still need to be rebuilt with each kernel, though? Perhaps not if > you don't include any modules in the image, *and* you build all the > stuff into the kernel that's required for the rootfs. Hmm. That feels > like a very specific kernel setup, although we require something vaguely > similar ("no modules at all" is the suggestion) today.
If you want to never rebuild the initramfs you can do no modules at all, or a hybrid model -- no modules needed to mount the disk where the actual modules are stored. But yes, if you want to do a modules-only build you do need to rebuild the initramfs when you change kernels. Or at least the /lib/modules bit of it. My point was just that, since the current direct-boot method is "you must be able to mount root from the monolithic kernel" the initramfs does need to be rebuilt just to change kernels. And of course all of that is dependent on what you have the initramfs do. Zach
smime.p7s
Description: S/MIME cryptographic signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page