[Yaird-devel] Bug#348293: yaird fails to generate initrd image for 2.6.15-ck2

Arnaud Patard (Rtp) arnaud.patard at rtp-net.org
Sun Jan 22 15:58:06 UTC 2006


Hi,

I was building a custom kernel package based on the 2.6.16-rc1-mm2 and I
had this problem to. When parsing the configuration, yaird does a
sensitive match on lower case. 
The following patch fixe the issue for me :

--- /usr/lib/yaird/perl/KConfig.pm.orig        2006-01-22 16:54:00.000000000 +0100
+++ /usr/lib/yaird/perl/KConfig.pm     2006-01-22 16:54:09.000000000 +0100
@@ -65,7 +65,7 @@ sub init () {
                if ($value eq 'y'
                        || $value eq 'm'
                        || $value =~ /^-?\d+$/
-                       || $value =~ /^0x[0-9a-f]+$/
+                       || $value =~ /^0x[0-9a-f]+$/i
                        || $value =~ /^"[-a-zA-Z0-9@,._\/= ]*"$/
                ) {
                        $kConfMap->{$key} = $value;

Regards,
Arnaud





More information about the Yaird-devel mailing list