diff options
author | Matthias Badaire <mbadaire@mandriva.com> | 2001-07-09 14:55:19 +0000 |
---|---|---|
committer | Matthias Badaire <mbadaire@mandriva.com> | 2001-07-09 14:55:19 +0000 |
commit | 091d9832ca4ca68effddfff572cb2b96b4a41c15 (patch) | |
tree | a0046396a279ae23c7c37a3de3f2a3895e842ddd /perl-install | |
parent | 6072592ba370e14a046e8689c80e9b9fe6258663 (diff) | |
download | drakx-091d9832ca4ca68effddfff572cb2b96b4a41c15.tar drakx-091d9832ca4ca68effddfff572cb2b96b4a41c15.tar.gz drakx-091d9832ca4ca68effddfff572cb2b96b4a41c15.tar.bz2 drakx-091d9832ca4ca68effddfff572cb2b96b4a41c15.tar.xz drakx-091d9832ca4ca68effddfff572cb2b96b4a41c15.zip |
modify lilo.conf to elilo.conf if arch ia64
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index f788142c5..e7a0734fb 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -614,7 +614,7 @@ sub install_lilo ($$) { if (arch() =~ /ia64/) { (my $part, $file) = fsedit::file2part($prefix, $fstab, $file); my %hds = map_index { $_ => "hd$::i" } sort map { $_->{device} } @$hds; - #- FUCK TO THE GUY WHICH DOESN'T DO perl -cw bootloader.pm #$dev2efi->{$part->{device}} . ":" . $file; + $hds->{$part->{device}} . ":" . $file; } else { $file } @@ -648,7 +648,8 @@ wait %d seconds for default boot. { local *F; local $\ = "\n"; - my $f = "$prefix/etc/lilo.conf"; + my $f = arch() =~ /ia64/ ? "$prefix/boot/efi/elilo.conf" : "$prefix/etc/lilo.conf"; + open F, ">$f" or die "cannot create lilo config file: $f"; log::l("writing lilo config to $f"); |