diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-27 08:22:23 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-27 08:22:23 +0000 |
commit | 360dabe91b296b09b62d0a1d82d4e536dc9d4d45 (patch) | |
tree | 910392b4b97321502a137dbf06799b6a4ce84fff /perl-install/bootsplash.pm | |
parent | cb6285a37920da3efcfbaaedb7040910f5bd6f48 (diff) | |
download | drakx-360dabe91b296b09b62d0a1d82d4e536dc9d4d45.tar drakx-360dabe91b296b09b62d0a1d82d4e536dc9d4d45.tar.gz drakx-360dabe91b296b09b62d0a1d82d4e536dc9d4d45.tar.bz2 drakx-360dabe91b296b09b62d0a1d82d4e536dc9d4d45.tar.xz drakx-360dabe91b296b09b62d0a1d82d4e536dc9d4d45.zip |
- draksplash:
o fix reading grub conf (#39346)
also ensure we don't break $grub2dev when we're not given a valid $fstab
Diffstat (limited to 'perl-install/bootsplash.pm')
-rw-r--r-- | perl-install/bootsplash.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/bootsplash.pm b/perl-install/bootsplash.pm index 6507e46ef..ef89fc330 100644 --- a/perl-install/bootsplash.pm +++ b/perl-install/bootsplash.pm @@ -15,7 +15,9 @@ our @resolutions = uniq(map { "$_->{X}x$_->{Y}" } Xconfig::resolution_and_depth: sub get_framebuffer_resolution() { require bootloader; require fsedit; - my $bootloader = bootloader::read(fsedit::get_hds()); + my $all_hds = fsedit::get_hds(); + fs::get_info_from_fstab($all_hds); + my $bootloader = bootloader::read($all_hds); my $x_res = Xconfig::resolution_and_depth::from_bios($bootloader->{default_options}{vga}); $x_res ? ($x_res->{X} . 'x' . $x_res->{Y}, 1) : |