diff options
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/any.pm | 6 |
2 files changed, 8 insertions, 1 deletions
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; |