summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-11 09:26:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-11 09:26:50 +0000
commit7eba8f8646a98f8a4c90d3bbf87b870a0ae4580f (patch)
tree3734b386c40ffb524d5fae74a72df56cf24fa02d /perl-install/any.pm
parent68c7b18e77933e45f3ecb1d354e029e2b96b36e8 (diff)
downloaddrakx-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)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm6
1 files changed, 5 insertions, 1 deletions
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;