xfs
[Top] [All Lists]

Re: building kernel-source RPM

To: Bernhard Erdmann <be@xxxxxxxxxxx>
Subject: Re: building kernel-source RPM
From: Net Llama! <netllama@xxxxxxxxxxxxx>
Date: Wed, 10 Dec 2003 10:14:39 -0500 (EST)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3FD7296D.8020008@xxxxxxxxxxx>
References: <3FD7296D.8020008@xxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Wed, 10 Dec 2003, Bernhard Erdmann wrote:
> Hi,
>
> how do I rebuild a kernel-source RPM, e.g.
> kernel-source-2.4.19-SGI_XFS_1.2.0.i386.rpm ?

I think what you want is the SRPM, if you're looking to rebuild.  Although
i suppose you could build from the source in that RPM.  At any rate,
assuming that you've installed that RPM, and it contains a SPEC file, you
should be able to do:
rpm -bb /usr/src/redhat/SPEC/kernel.spec

and after a while, you'll end up with RPMs(s) & and SRPM.

The faster, easier route would be to get the SRPM, and do:
rpmbuild --rebuild kernel-source-2.4.19-SGI_XFS_1.2.0.src.rpm

Either way, 2.4.19 is old, buggy, and exploitable, so i'd avoid it and go
with something much more recent.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                                netllama@xxxxxxxxxxxxx
Linux Step-by-step & TyGeMo                  http://netllama.ipfox.com


<Prev in Thread] Current Thread [Next in Thread>