Bugzilla – Bug 131707
make install error for kernels 2.6.14-git1 and later
Last modified: 2007-05-03 07:21:18 UTC
On my SuSE 10.0 system, I encountered a problem when building initrd during the "make install" part of kernel building for kernels newer than 2.6.14-git1. The problem occurs in the perl module Bootloader/Tools.pm due to the addition of new files named "uevent" in folders /sys/block/hda and /sys/block/hda/hda1, etc. A working fix is in the patch below. --- /usr/lib/perl5/vendor_perl/5.8.7/Bootloader/Tools.pm.old 2005-10-30 20:16:33.000000000 -0600 +++ /usr/lib/perl5/vendor_perl/5.8.7/Bootloader/Tools.pm 2005-10-30 19:55:53.000000000 -0600 @@ -170,14 +170,17 @@ foreach my $part (@parts) { - chomp ($part); - $part = Udev2Dev ("$disk/$part"); - my $index = substr ($part, length ($dev_disk)); - while (length ($index) > 0 && substr ($index, 0, 1) !~ /[0-9]/) + if ($part ne "uevent") { - $index = substr ($index, 1); + chomp ($part); + $part = Udev2Dev ("$disk/$part"); + my $index = substr ($part, length ($dev_disk)); + while (length ($index) > 0 && substr ($index, 0, 1) !~ /[0-9]/) + { + $index = substr ($index, 1); + } + push @devices, [$part, $dev_disk, $index]; } - push @devices, [$part, $dev_disk, $index]; } } return \@devices;
This is not a kernel bug. And it is not a MAJOR one, as we do not ship the kernel in question. Re-assigning to perl maintainer.
We're not fixing this for 10.0. If this bug still exists in openSUSE 10.2, please reopen and change the product.