summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
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};