Skip to contentSkip to conversation

Automatic download of kernel rpms

DISCUSSION li nux 5 participants 5 messages Nov 8, 2005 – Nov 9, 2005

lore
Share & tools
lore

li nux

author
#0 lore raw

Hi,

Is there any image server from where I can download the latest kernel rpms as and when available. Also, how can I achieve the automatic download.

-lnx

__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

#1 lore raw
Quoted 5 lines · li nux

Hi,

Is there any image server from where I can download the latest kernel rpms as and when available. Also, how can I achieve the automatic download.

Generally, no. The exact reason is that rpms are a vendor item, and no fixed relation to the kernel.org tarballs.

Signature · 10 lines
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Free OpenDocument reader/writer/converter download:
http://www.openoffice.org
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
#2 lore raw
Quoted 2 lines · Gene Heskett

Generally, no. The exact reason is that rpms are a vendor item, and no fixed relation to the kernel.org tarballs.

"make rpm" should build an RPM package from them but you will still need to get the configuration correct before doing this.

#3 lore raw
Quoted 7 lines · Alan Cox
Quoted 2 lines · Gene Heskett

Generally, no. The exact reason is that rpms are a vendor item, and no fixed relation to the kernel.org tarballs.

"make rpm" should build an RPM package from them but you will still need to get the configuration correct before doing this.

Alan can verify that Red Hat Fedora puts the ".config" file in /boot as /boot/config-uname -r. This can be copied to the new kernel tree as ".config" and make oldconfig should get you a kernel configured very close to the one provided with the distribution.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.13.4 on an i686 machine (5589.55 BogoMips). Warning : 98.36% of all statistics are fiction.
.

****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.

#4 lore raw
Quoted 10 lines · linux-os \(Dick Johnson\)
Quoted 7 lines · Alan Cox
Quoted 2 lines · Gene Heskett

Generally, no. The exact reason is that rpms are a vendor item, and no fixed relation to the kernel.org tarballs.

"make rpm" should build an RPM package from them but you will still need to get the configuration correct before doing this.

Quoted 5 lines

Alan can verify that Red Hat Fedora puts the ".config" file in /boot as /boot/config-uname -r. This can be copied to the new kernel tree as ".config" and make oldconfig should get you a kernel configured very close to the one provided with the distribution.

Note that Fedora (and RHEL) kernels modularize nearly everything and need an initrd to boot. The kernel's "make rpm" does not make the initrd for you (or fix up your grub.conf, IIRC). So, the sequence is:

(unpack kernel)
cp /boot/config-uname -r .config
make oldconfig
(answer questions about new stuff)
make rpm
rpm -ivh <the-new-rpm>
mkinitrd /boot/initrd-<ver> <ver>
(edit grub.conf or what have you)

Ian