summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-05-10 08:51:21 +0000
committerOlivier Blin <oblin@mandriva.org>2005-05-10 08:51:21 +0000
commit754e840e31cb3552963c182eeb2e229fc70bbb4a (patch)
tree4baf162556ab83362fc8e1a3d16a19df3b0b947d
parent896291788e5530a0c1b8f77fd5d17e2c4450661d (diff)
downloaddrakx-754e840e31cb3552963c182eeb2e229fc70bbb4a.tar
drakx-754e840e31cb3552963c182eeb2e229fc70bbb4a.tar.gz
drakx-754e840e31cb3552963c182eeb2e229fc70bbb4a.tar.bz2
drakx-754e840e31cb3552963c182eeb2e229fc70bbb4a.tar.xz
drakx-754e840e31cb3552963c182eeb2e229fc70bbb4a.zip
really get default vga mode
-rw-r--r--perl-install/bootsplash.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/bootsplash.pm b/perl-install/bootsplash.pm
index 3b46b4a66..46c84c72e 100644
--- a/perl-install/bootsplash.pm
+++ b/perl-install/bootsplash.pm
@@ -18,7 +18,8 @@ our @resolutions = uniq(map { "$_->{X}x$_->{Y}" } Xconfig::resolution_and_depth:
sub get_framebuffer_resolution {
require bootloader;
- my $bootloader = bootloader::read();
+ require fsedit;
+ my $bootloader = bootloader::read(fsedit::get_hds());
my $x_res = Xconfig::resolution_and_depth::from_bios($bootloader->{default_vga});
$x_res ?
($x_res->{X} . 'x' . $x_res->{Y}, 1) :