summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-14 16:26:02 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-14 16:26:02 +0000
commit9b9348f881c373dbcdacef2a3b189d0cac203880 (patch)
treefe222e865f369f2a1a5675a632c8359231c5819e /lib
parented80c570d284d006d1fb4fd2adfcac6c3b6087f8 (diff)
downloaddrakiso-9b9348f881c373dbcdacef2a3b189d0cac203880.tar
drakiso-9b9348f881c373dbcdacef2a3b189d0cac203880.tar.gz
drakiso-9b9348f881c373dbcdacef2a3b189d0cac203880.tar.bz2
drakiso-9b9348f881c373dbcdacef2a3b189d0cac203880.tar.xz
drakiso-9b9348f881c373dbcdacef2a3b189d0cac203880.zip
use add_splash for classical bootloader too
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Draklive/Initrd.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index 78bde95..335a39f 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -319,11 +319,7 @@ sub create_classical_initrd {
run_({}, 'umount', $root . '/proc');
if (-f $root . $initrd_long) {
symlinkf(basename($initrd_long), $root . $initrd_short);
- if ($live->{system}{vga_mode} && $live->{system}{splash} ne 'no') {
- require bootloader;
- local $::prefix = $live->get_system_root;
- bootloader::add_boot_splash($initrd_long, $live->{system}{vga_mode});
- }
+ add_splash($live, $initrd_long);
}
}