diff options
author | Francois Pons <fpons@mandriva.com> | 2000-07-11 18:04:41 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-07-11 18:04:41 +0000 |
commit | b54d78676ac459c8fb94bc6b43caa29d5764e9bd (patch) | |
tree | 9d2fd1d49dcec4b27904ee46a9ee507104a71e91 /perl-install/install_any.pm | |
parent | 4c2fb3914a389afd7a79bbabea1dde6968448505 (diff) | |
download | drakx-backup-do-not-use-b54d78676ac459c8fb94bc6b43caa29d5764e9bd.tar drakx-backup-do-not-use-b54d78676ac459c8fb94bc6b43caa29d5764e9bd.tar.gz drakx-backup-do-not-use-b54d78676ac459c8fb94bc6b43caa29d5764e9bd.tar.bz2 drakx-backup-do-not-use-b54d78676ac459c8fb94bc6b43caa29d5764e9bd.tar.xz drakx-backup-do-not-use-b54d78676ac459c8fb94bc6b43caa29d5764e9bd.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 22 |
1 files changed, 11 insertions, 11 deletions
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; |