|
Bugzilla – Full Text Bug Listing |
| Summary: | make install error for kernels 2.6.14-git1 and later | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Larry Finger <Larry.Finger> |
| Component: | Kernel | Assignee: | Michael Schröder <mls> |
| Status: | RESOLVED WONTFIX | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | i386 | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
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. |
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;