From b54d78676ac459c8fb94bc6b43caa29d5764e9bd Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 11 Jul 2000 18:04:41 +0000 Subject: *** empty log message *** --- perl-install/install_any.pm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 5909636f7..73680fb12 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -533,30 +533,30 @@ sub setupFB { $vga ||= 785; #- assume at least 640x480x16. - require lilo; - #- update lilo entries with a new fb label. a bit hack unless + require bootloader; + #- update bootloader entries with a new fb label. a bit hack unless #- a frame buffer kernel is used, in such case we use it instead #- with the right mode, nothing more to do. foreach (qw(secure smp)) { - if (my $e = lilo::get("/boot/vmlinuz-$_", $o->{bootloader})) { + if (my $e = bootloader::get("/boot/vmlinuz-$_", $o->{bootloader})) { if ($_ eq 'secure') { log::l("warning: kernel-secure is not fb, using a kernel-fb instead"); #- nothing done, fall through linux-fb. } else { $e->{vga} = $vga; - lilo::install($o->{prefix}, $o->{bootloader}, $o->{fstab}, $o->{hds}); + bootloader::install($o->{prefix}, $o->{bootloader}, $o->{fstab}, $o->{hds}); return 1; } } } - if (lilo::add_kernel($o->{prefix}, $o->{bootloader}, kernelVersion($o), 'fb', - { - label => 'linux-fb', - root => lilo::get("/boot/vmlinuz", $o->{bootloader})->{root}, - vga => $vga, - })) { + if (bootloader::add_kernel($o->{prefix}, $o->{bootloader}, kernelVersion($o), 'fb', + { + label => 'linux-fb', + root => bootloader::get("/boot/vmlinuz", $o->{bootloader})->{root}, + vga => $vga, + })) { $o->{bootloader}{default} = 'linux-fb'; - lilo::install($o->{prefix}, $o->{bootloader}, $o->{fstab}, $o->{hds}); + bootloader::install($o->{prefix}, $o->{bootloader}, $o->{fstab}, $o->{hds}); } else { log::l("unable to install kernel with frame buffer support, disabling"); return 0; -- cgit v1.2.1