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
|