summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-17 09:04:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-17 09:04:12 +0000
commit2249f8c990a910f3a74a753d1ef4691c24ab0397 (patch)
treec99a66f3996b91615b51c05397c2fa1b7b59f317
parent8a2f1d2875343429f5e958559e5db6df14694b89 (diff)
downloaddrakx-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
-rw-r--r--perl-install/bootloader.pm2
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 {