diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-17 09:04:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-17 09:04:12 +0000 |
commit | 2249f8c990a910f3a74a753d1ef4691c24ab0397 (patch) | |
tree | c99a66f3996b91615b51c05397c2fa1b7b59f317 /perl-install/bootloader.pm | |
parent | 8a2f1d2875343429f5e958559e5db6df14694b89 (diff) | |
download | drakx-backup-do-not-use-2249f8c990a910f3a74a753d1ef4691c24ab0397.tar drakx-backup-do-not-use-2249f8c990a910f3a74a753d1ef4691c24ab0397.tar.gz drakx-backup-do-not-use-2249f8c990a910f3a74a753d1ef4691c24ab0397.tar.bz2 drakx-backup-do-not-use-2249f8c990a910f3a74a753d1ef4691c24ab0397.tar.xz drakx-backup-do-not-use-2249f8c990a910f3a74a753d1ef4691c24ab0397.zip |
- fix short label with extension. eg: have "linux-smp" instead of "linuxsmp"
- this fixes choosing the default specialised kernel
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 86ce3d291..bbe956849 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -89,7 +89,7 @@ sub kernel_str2label { my $base = $kernel->{basename} eq 'vmlinuz' ? 'linux' : $kernel->{basename}; $o_use_long_name || $kernel->{use_long_name} ? sanitize_ver("$base-$kernel->{version}") : - $kernel->{ext} ? "$base$kernel->{ext}" : $base; + $kernel->{ext} ? "$base-$kernel->{ext}" : $base; } sub get { |