diff options
-rw-r--r-- | perl-install/bootsplash.pm | 3 |
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) : |