[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]