On Thu, Mar 24, 2005 at 11:39:07AM +0100, Erich Focht wrote:
> On Thursday 24 March 2005 04:31, Sean Dague wrote:
> > On Tue, Mar 22, 2005 at 04:49:45PM +0100, Erich Focht wrote:
> > > The systemconfigurator kernel version recognition fails This is due to
> > > the VERY simple way of detection of the kernel version in
> > > /usr/lib/systemconfig/Initrd/Generic.pm. For the RHEL3-ia64 kernel the
> > > the string 1.1.3 was recognized as version, which is obviously wrong.
> ...
> > > -        if(/[^\/\-]([123]\.\d+\.[\w\-\.]+)/) {
> > > +        if(/Linux version[^\/\-]([123]\.\d+\.[\w\-\.]+)/) {
> ...
> > 
> > This only works on Red Hat Kernels, for whatever reason, so you'll need a
> > more generic patch before it should be included.
> 
> Hmmm, actually it only works with vmlinux-* kernels on ia32, not with
> the bzImage-alike. On ia64 it is fine with any kernel I tried.
> 
> Attached is a more involved version recognition including the bzImage
> kernels on ia32. Also I attached a perl program which can be used to
> check whether kernels are recognized or not. Simply call
> ./sc_kernel_version.pl <your_favourite_kernel_file>
> If it fails with any kernel, please tell me.

This looks good now.  Patch is applied in CVS, and will be in sc 2.2.2.

        -Sean

-- 
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________

Attachment: pgpivJlX0TshY.pgp
Description: PGP signature

Reply via email to