603 kernel source?

Phil Schaffner P.R.Schaffner at IEEE.org
Sat Oct 9 03:50:30 UTC 2004


On Fri, 2004-10-08 at 23:23 -0400, Robert L Cochran wrote:
> How do I get the .src.rpm for the [603...or any new] kernel source? If
> memory serves me I need to install this and change some SPEC file
> defaults in order to build a kernel-sourcecode rpm.

Watch for line-wraps...

$ lftp http://mirror.hiwaay.net/redhat/fedora/linux/core/development/
   [ ... or your favorite neighborhood mirror ... ]
cd ok, cwd=/redhat/fedora/linux/core/development
lftp mirror.hiwaay.net:/redhat/fedora/linux/core/development> dir
drwxr-xr-x  --  ..
drwxr-xr-x            -  2004-10-07 07:42  SRPMS
drwxr-xr-x            -  2004-10-07 07:43  headers
drwxr-xr-x            -  2004-10-07 07:32  i386
drwxr-xr-x            -  2004-10-06 07:20  x86_64
-rw-r--r--         3.0K  2003-11-04 11:23  README
lftp mirror.hiwaay.net:/redhat/fedora/linux/core/development> cd SRPMS/
cd ok, cwd=/redhat/fedora/linux/core/development/SRPMS
lftp mirror.hiwaay.net:/redhat/fedora/linux/core/development/SRPMS> get kernel-<TAB><TAB>
kernel-2.6.8-1.541.src.rpm  kernel-2.6.8-1.598.src.rpm  kernel-utils-2.4-13.1.27.src.rpm
lftp mirror.hiwaay.net:/redhat/fedora/linux/core/development/SRPMS> get kernel-2.6.8-1.598.src.rpm

As to editing the spec file, see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=134800 if building
as a user - highly advised.  Haven't checked to see if any fixes are in
on this one in latest kernel.  For more details/advice see recent
fedora-devel-list threads.

Phil





More information about the test mailing list