Should installkernel be passing --dracut to new-kernel-pkg?
Rahul Sundaram
sundaram at fedoraproject.org
Sun Oct 25 12:45:24 UTC 2009
On 10/22/2009 06:18 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
If you want to reduce the size, set hostonly in /etc/dracut.conf
https://fedoraproject.org/wiki/Dracut/Options#-H.2C_--hostonly
Rahul
More information about the devel
mailing list