summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-01-22 14:01:39 +0000
committerFrancois Pons <fpons@mandriva.com>2003-01-22 14:01:39 +0000
commit3f764edf4c9bc918339d1189b4dfd04a8791a3c0 (patch)
tree90ba45e4053323ce060b9d9f62aa592e63b83867
parent0f6ebc8f15f4df1ac798dcbcd280fdbaf0f41927 (diff)
downloaddrakx-backup-do-not-use-3f764edf4c9bc918339d1189b4dfd04a8791a3c0.tar
drakx-backup-do-not-use-3f764edf4c9bc918339d1189b4dfd04a8791a3c0.tar.gz
drakx-backup-do-not-use-3f764edf4c9bc918339d1189b4dfd04a8791a3c0.tar.bz2
drakx-backup-do-not-use-3f764edf4c9bc918339d1189b4dfd04a8791a3c0.tar.xz
drakx-backup-do-not-use-3f764edf4c9bc918339d1189b4dfd04a8791a3c0.zip
fix call to sanitize_ver by giving it linux-$version instead of linux$ext.
-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 d057dfcf2..c286c1457 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -228,7 +228,7 @@ sub add_kernel {
symlinkf("initrd-$version.img", "$::prefix$initrd") or cp_af("$::prefix/boot/initrd-$version.img", "$::prefix$initrd");
}
- my $label = $ext =~ /-(default)/ ? $1 : ($ext =~ /\d\./ ? sanitize_ver("linux$ext") : "linux$ext");
+ my $label = $ext =~ /-(default)/ ? $1 : ($ext =~ /\d\./ ? sanitize_ver("linux-$version") : "linux$ext");
#- more yaboot concessions - PPC
if (arch() =~ /ppc/) {