Re: Building kernels and moving to another machine.

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

 



Am Mo, den 22.11.2004 schrieb Bill Somerville um 0:53:

> Using FC2, I would like to build a modular kernel on one machine and 
> transfer it to a different target machine(s).

> Does anyone know a way to make kernel 'make rpm' build a useable rpm?
> 
> I know I can write a script to make the initrd on the target but what is 
> the point of the 'make rpm' option if you can't use the result?
> 
> Bill Somerville

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

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 03:35:30 up 1 day, 22:23, load average: 0.27, 0.33, 0.33 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux