Re: custom kernel rpm version / release question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Aaron,

On Tue, Feb 03, 2004 at 03:27:04PM -0500, Aaron Bennett wrote:
> I'm making a customized kernel rpm, based on kernel-2.4.spec from 
> kernel-2.4.20-28.9.src.rpm.
> 
> The specfile has a "polite request for people who spin their own kernel 
> rpms" to modify the release field in such a way tht indentifies that the 
> kenel isn't a stock RHL kernel.
> 
> That's fine with me.  What I'm wondering is if anyone has suggestions on 
>  what scheme to use.  I'm making an rpm for 2.4.24, and in the event 
> that Red Hat released a supported 2.4.24 kernel rpm, I'd like to make 
> sure that my custom release is numbered in such a way that rpm -Uvh, 
> apt-get, etc all recognize that the Red Hat kernel is newer and should 
> be installed in place of my custom kernel.

If you want to be dead sure use something like

Version: 2.4.24
Release: a

This is probably the smallest VR possible for a 2.4.24 kernel :)

Release: 0_1.rh9.olin

should also be safe enough :)
(and scales, if you intend to release kernels for other distributions)

It is rather unlikely that RH will bump the kernel version on RH9. It
happened with RH7.x and RH8.0 in order to consolidate sources with
RH9. So you are pretty safe anyway.

> If I do something like %define release olin.0.1 in the specfile, is that 
> sufficient?
> 
> If I'm totally barking up the wrong tree, that's fine too.  Suggestions 
> for better approaches are welcomed.

Have a look at the customized kernels from PlanetCCRMA and ATrpms:

http://ccrma-www.stanford.edu/planetccrma/mirror/all/linux/SRPMS/
http://atrpms.physik.fu-berlin.de/name/kernel/

PlanetCCRMA has a very powerful 2.4.24 kernel BTW. Perhaps you would
like to submit patches to PlanetCCRMA's kernel (PlanetCCRMA's
maintainer, Fernando Pablo Lopez-Lezcano, is Cced)?
-- 
Axel.Thimm@xxxxxxxxxxxxxxxxxxx

Attachment: pgp00025.pgp
Description: PGP signature


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux