From 7eba8f8646a98f8a4c90d3bbf87b870a0ae4580f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 11 Jun 2007 09:26:50 +0000 Subject: - drakboot -boot o update splash when changing framebuffer resolution (#27470) --- perl-install/NEWS | 3 +++ perl-install/any.pm | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index d27a3af8b..8fa8f8636 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- drakboot -boot + o update splash when changing framebuffer resolution (#27470) + Version 10.4.135 - 08 June 2007, by Thierry Vignaud - interactive layer: diff --git a/perl-install/any.pm b/perl-install/any.pm index be6dc6825..2d5f2baa1 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -530,7 +530,11 @@ sub setupBootloader__entries { } } }, \@l) or return; $b->{default} = $old_default || $default ? $default && $e->{label} : $b->{default}; - $e->{vga} = ref($vga) ? $vga->{bios} : $vga; + my $new_vga = ref($vga) ? $vga->{bios} : $vga; + if ($new_vga ne $e->{vga}) { + $e->{vga} = $new_vga; + $e->{initrd} and bootloader::add_boot_splash($e->{initrd}, $e->{vga}); + } bootloader::set_append_netprofile($e, $append, $netprofile); bootloader::configure_entry($b, $e); #- hack to make sure initrd file are built. 1; -- cgit v1.2.1