
I'm running a 2.6 kernel on my desktop (Red Hat 9) machine, with a RPM from Arjan van de Ven at http://people.redhat.com/arjanv/2.5/RPMS.kernel/. I want to take the standard RH kernel (which I try and keep to as much as possible) and patch it for a couple of things, and then build an RPM which is as close to the original version as possible, with just the added extra features. When I unpack the SRPM of the kernel source, I get a /usr/src/linux-2.6.1-whatever directory, and I can run 'make rpm' in that directory after configuration. However, this gives me an RPM that doesn't insert itself in grub.conf and doesn't build an initrd. I assume there is a similar method to Debian's make-kpkg that will build me an all in one RPM, and I just can't find it. I expect one of our local Red Hat gurus (orj?) has battled this before, and I'd love to know what other people do in this situation. Thanks, Craig

On Sat, 2004-01-24 at 14:04, Craig Box wrote:
When I unpack the SRPM of the kernel source, I get a /usr/src/linux-2.6.1-whatever directory, and I can run 'make rpm' in that directory after configuration. However, this gives me an RPM that doesn't insert itself in grub.conf and doesn't build an initrd.
I assume there is a similar method to Debian's make-kpkg that will build me an all in one RPM, and I just can't find it. At a guess, i think you would probably have to make the changes, compress the folder again, then build the kernel RPM from the spec file. Ive build kernel rpms from spec files before, but im a bit rusty. I might look into it myself and see what happens ;-)
Alastair -- (o< - A l a s t a i r P o r t e r //\ V_/_ alastair(a)linuxexperience.com

I'm sorry but I've never actually tried to create an RPM of the kernel. When I used to compile kernels I always just compiled and installed everything by hand. Regards
I expect one of our local Red Hat gurus (orj?) has battled this before, and I'd love to know what other people do in this situation.
Thanks, Craig
participants (3)
-
Alastair Porter
-
Craig Box
-
Oliver Jones