From 3620656045aeedf4d3452f0f8d1e564c3e2cf95c Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 11 Feb 2002 18:15:48 +0000 Subject: added Aurora or bootsplash for getting a need on frame buffer. --- perl-install/install_steps.pm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 52911f785..1a06d5648 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -822,12 +822,14 @@ sub setupBootloaderBefore { ); #- propose the default fb mode for kernel fb, if aurora is installed too. - my $has_aurora = do { - my $p = pkgs::packageByName($o->{packages}, 'Aurora'); - $p && pkgs::packageFlagInstalled($p); - }; + my $need_fb; + foreach (qw(Aurora bootsplash)) { + my $p = pkgs::packageByName($o->{packages}, $_); + $p && pkgs::packageFlagInstalled($p) and $need_fb = 1; + } + bootloader::suggest($o->{prefix}, $o->{bootloader}, $o->{all_hds}{hds}, $o->{fstab}, - ($force_vga || $vga && $has_aurora) && $o->{vga}); + ($force_vga || $vga && $need_fb) && $o->{vga}); bootloader::suggest_floppy($o->{bootloader}) if $o->{security} <= 3 && arch() !~ /ppc/; $o->{bootloader}{keytable} ||= keyboard::keyboard2kmap($o->{keyboard}); -- cgit v1.2.1