Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#252575 - 24/03/2005 18:04 RedHat and kernel patches
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I have a kernel patch that I want to apply to a RedHat 7.3 machine. I would like to have the kernel otherwise an exact copy of the kernel installed by RedHat.

What is the best way to do this?
_________________________
Bitt Faulk

Top
#252576 - 24/03/2005 18:10 Re: RedHat and kernel patches [Re: wfaulk]
SuperQ
addict

Registered: 13/06/2000
Posts: 429
Loc: Berlin, DE
download the SRPM for the redhat kernel, and run rpm -i

put your patch file in /usr/src/redhat/SOURCES

and add the 2 lines to the SPEC file.

(you will see a whole bunch of stuff about patching in the SPEC file)

then you can use rpmbuild to make a custom RPM fo the kernel
_________________________
80gig red mk2 -- 080000125
(No, I don't actually hate Alan Cox)

Top
#252577 - 25/03/2005 13:30 Re: RedHat and kernel patches [Re: SuperQ]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Yup. Seemed to work.

I've got another question, though. The rpmbuild seemed to build quite a few kernels, like a plain one, a bigmem one, an smp one, etc. How do I install the right one? I need the smp kernel.
_________________________
Bitt Faulk

Top