Building kernels and moving to another machine.

Bill Somerville bill at classdesign.com
Mon Nov 22 23:27:07 UTC 2004


Alexander Dalloz wrote:

> Worth having a look at the kernel SRC.RPM of Fedora Core and it's spec
> file. The rpm section in the makefile the vanilla kernel source comes
> with is just basic. Btw. the initial ramdisk image is created at install
> time, see
> 
> rpm -q --scripts kernel-smp-2.6.9-1.6_FC2
> 
> postinstall scriptlet (using /bin/sh):
> [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --mkinitrd --depmod
> --install 2.6.9-1.6_FC2smp

Excellent, thanks for that. It works just as required.

Sorry for being a bit dumb there, I assumed that the installer did the 
work and didn't think of checking the rpm.

> 
> Alexander
> 
> 
> 

Bill Somerville




More information about the fedora-list mailing list