From 9b9348f881c373dbcdacef2a3b189d0cac203880 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 14 Oct 2009 16:26:02 +0000 Subject: use add_splash for classical bootloader too --- lib/MDV/Draklive/Initrd.pm | 6 +----- 1 file changed, 1 insertion(+), 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); } } -- cgit v1.2.1