summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-01-07 13:27:53 +0000
committerFrancois Pons <fpons@mandriva.com>2000-01-07 13:27:53 +0000
commit1044ef768e3f4abd181a6872e77b628062b57a79 (patch)
tree6dfd8f1060a1663d59735639eaf3b5f2f9889255 /perl-install/install_any.pm
parentb1edad2f776716889ca148f621f0aeed971c18e3 (diff)
downloaddrakx-1044ef768e3f4abd181a6872e77b628062b57a79.tar
drakx-1044ef768e3f4abd181a6872e77b628062b57a79.tar.gz
drakx-1044ef768e3f4abd181a6872e77b628062b57a79.tar.bz2
drakx-1044ef768e3f4abd181a6872e77b628062b57a79.tar.xz
drakx-1044ef768e3f4abd181a6872e77b628062b57a79.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm11
1 files changed, 8 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 8e029aa65..8ab9d4073 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -394,9 +394,14 @@ sub setupFB {
#- with the right mode, nothing more to do.
foreach (qw(secure smp)) {
if ($o->{bootloader}{entries}{"/boot/vmlinuz-$_"}) {
- $o->{bootloader}{entries}{"/boot/vmlinuz-$_"}{vga} = $vga;
- lilo::install($o->{prefix}, $o->{bootloader});
- return 1;
+ if ($_ eq 'secure') {
+ log::l("warning: kernel-secure is not fb, using a kernel-fb instead");
+ #- nothing done, fall through linux-fb.
+ } else {
+ $o->{bootloader}{entries}{"/boot/vmlinuz-$_"}{vga} = $vga;
+ lilo::install($o->{prefix}, $o->{bootloader});
+ return 1;
+ }
}
}
my $root = $o->{bootloader}{entries}{'/boot/vmlinuz'}{root};