diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-06-11 09:26:50 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-06-11 09:26:50 +0000 |
commit | 7eba8f8646a98f8a4c90d3bbf87b870a0ae4580f (patch) | |
tree | 3734b386c40ffb524d5fae74a72df56cf24fa02d | |
parent | 68c7b18e77933e45f3ecb1d354e029e2b96b36e8 (diff) | |
download | drakx-7eba8f8646a98f8a4c90d3bbf87b870a0ae4580f.tar drakx-7eba8f8646a98f8a4c90d3bbf87b870a0ae4580f.tar.gz drakx-7eba8f8646a98f8a4c90d3bbf87b870a0ae4580f.tar.bz2 drakx-7eba8f8646a98f8a4c90d3bbf87b870a0ae4580f.tar.xz drakx-7eba8f8646a98f8a4c90d3bbf87b870a0ae4580f.zip |
- drakboot -boot
o update splash when changing framebuffer resolution (#27470)
-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; |