summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-05 13:09:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-05 13:09:46 +0000
commitccb9426bb7beed119d800cb90da3f07c46010003 (patch)
tree20ba3a9e4214652a60852be6e9f92e272e4f9a1a /perl-install/bootloader.pm
parent8d3ff70b9264d98fbf84b5b18c1c2bb136cc0d5b (diff)
downloaddrakx-backup-do-not-use-ccb9426bb7beed119d800cb90da3f07c46010003.tar
drakx-backup-do-not-use-ccb9426bb7beed119d800cb90da3f07c46010003.tar.gz
drakx-backup-do-not-use-ccb9426bb7beed119d800cb90da3f07c46010003.tar.bz2
drakx-backup-do-not-use-ccb9426bb7beed119d800cb90da3f07c46010003.tar.xz
drakx-backup-do-not-use-ccb9426bb7beed119d800cb90da3f07c46010003.zip
- bootloader-config:
o never use "vmlinuz-desktop" or "initrd-desktop.img", always use "vmlinuz" or "initrd.img" (#35721) this should have been done together with commit r226739 (2007-08-31)
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 42c1c7726..0a0cca5bc 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -68,8 +68,7 @@ sub kernel_str2vmlinuz_short {
if ($kernel->{use_long_name}) {
kernel_str2vmlinuz_long($kernel);
} else {
- my $ext = $kernel->{ext} ? "-$kernel->{ext}" : '';
- $kernel->{basename} . $ext;
+ $kernel->{basename};
}
}
sub kernel_str2initrd_short {
@@ -77,8 +76,7 @@ sub kernel_str2initrd_short {
if ($kernel->{use_long_name}) {
kernel_str2initrd_long($kernel);
} else {
- my $ext = $kernel->{ext} ? "-$kernel->{ext}" : '';
- basename2initrd_basename($kernel->{basename}) . $ext . '.img';
+ basename2initrd_basename($kernel->{basename}) . '.img';
}
}