Hi,

I filed this in the OSCAR bugtracker, but this list seems more
appropriate for the fix:

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.

The consequence is that the sc-initrd generation fails.  It can be
fixed by the attached patch. This should go into the
systemconfigurator package, which is installed in the node images.

Best regards,
Erich

--- usr/lib/systemconfig/Initrd/Generic.pm.orig	2005-03-21 14:54:43.094022920 +0100
+++ usr/lib/systemconfig/Initrd/Generic.pm	2005-03-21 14:56:24.169657088 +0100
@@ -47,7 +47,7 @@
         
     while(<IN>) {
         # When Linux Kernel 4.0pre1 comes out, we'll have to change this
-        if(/[^\/\-]([123]\.\d+\.[\w\-\.]+)/) {
+        if(/Linux version[^\/\-]([123]\.\d+\.[\w\-\.]+)/) {
             verbose("Found version '$1' at line # $.");
             $version = $1;
             last;

Reply via email to