Should installkernel be passing --dracut to new-kernel-pkg?

Dave Jones davej at redhat.com
Mon Oct 26 01:06:54 UTC 2009


On Thu, Oct 22, 2009 at 08:48:03AM -0400, Stephen Smalley wrote:
 > Hi,
 > 
 > /sbin/installkernel doesn't pass --dracut to /sbin/new-kernel-pkg, so a
 > make install from a kernel.org kernel tree tries to
 > invoke /sbin/mkinitrd rather than dracut.  Is that intentional?
 > 
 > Also, any ideas on why a dracut-generated initramfs image generated for
 > a kernel.org kernel tree would be so much larger than the Fedora kernel
 > one (same .config)?
 > 
 > 12M /boot/initramfs-2.6.31.1-56.fc12.x86_64.img
 > 82M /boot/initramfs-2.6.32-rc2.img
 
Do you have CONFIG_DEBUG_INFO set ? The kernel specfile strips the debug info
out to separate debuginfo packages.  If you build it by hand, that doesn't happen,
so you get all the symbols etc attached to every module in your initramfs.

	Dave




More information about the fedora-devel-list mailing list