diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index b984708a4..e548dfdc7 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -475,7 +475,8 @@ sub add_kernel { #- normalize append and handle special options { my ($simple, $dict) = unpack_append("$bootloader->{perImageAppend} $v->{append}"); - if (-e "$::prefix/sbin/udev" && $kernel_str->{version} =~ /^2\.(\d+\.\d+)/ && $1 >= 6.8) { + if (-e "$::prefix/sbin/udev" && $kernel_str->{version} =~ /^2\.(\d+)\.(\d+)/ && + ($1 > 6 || $1 == 6 && $2 >= 8)) { log::l("it is a recent kernel, so we remove any existing devfs= kernel option to enable udev"); @$dict = grep { $_->[0] ne 'devfs' } @$dict; } |