Kernel Compiling Checklist, rev 3

Matt Hansen helios82 at optushome.com.au
Wed Apr 14 00:09:49 UTC 2004


On Wed, 2004-04-14 at 02:19, ne... wrote:
> On Apr 13, 2004 at 11:10, jludwig in a soothing rage wrote:
> 
> >On Tue, 2004-04-13 at 10:56, Etanisla Lopez-Ortiz wrote:
> 
> [...]
> >> 7:  "make dep"
> >> 8:  "make clean"
> >> 9:  "make bzImage"
> I would generally do a 'make dep clean bzImage modules'.
> If any one of the options abends, the whole thing stops
> there.
> 
> >> 10: "cp /arch/i386/boot/bzImage /boot/vmlinuz-x.x.x"
> >> 11: "ln -s /boot/vmlinuz-x.x.x /boot/vmlinuz-x.x.x-new-kernel"
> 10 & 11 are not needed if you do 'make install'.
> 
> >> 12: "make modules"
> >> 13: "make modules_install"
> >> 14: "make install"  
> >> 15: Edit /etc/rc.sysinit and change '/proc/sys/kernel/modprobe' to
> >> /sbin/modprobe'.
> >> 16: "shutdown -r now"
> >> 17: After rebooting, and selecting new kernel option, type "uname -r" to
> >> verify the new kernel is running.
> >> 
> >> So, whaddya think?
> >> --Etanisla
> >
> >You'll have to do a mkinitrd image kernel-version or at least in the
> >grub.config change the label to /dev/hdxx so the kernel can find init.
> The 'make install' should take care of the initrd image.
> 
> N.Emile...
> -- 
> Registered Linux User # 125653 (http://counter.li.org)
> Switch to: http://www.speakeasy.net/refer/190653
> Raffiniert ist der Herrgott aber boshaft ist er nicht.
> 		-- Albert Einstein
>  12:15:25  up 24 days, 47 min,  5 users,  load average: 0.00, 0.00, 0.00

Hi all,

Where would a "make rpm" target fit into these steps? I would think
these kernel compilation steps should include this should it not?
Wouldn't it be cleaner and more manageable to create an RPM out of this
process?

Regards,
-Matt
-- 
mhelios - www.fedoraforum.org 
Registered Linux User #348963 / counter.li.org
GnuPG KeyID: 0xCE9F8922 / gnupg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040414/62e6c05e/attachment-0001.sig>


More information about the fedora-list mailing list