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

Harald Hoyer harald at redhat.com
Wed Oct 28 09:47:50 UTC 2009


On 10/22/2009 02:48 PM, 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
>

Newer dracut versions will strip kernel modules automatically.
The old version only strips, if the executable bit is set.




More information about the fedora-devel-list mailing list