diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-10-14 16:26:02 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-10-14 16:26:02 +0000 |
commit | 9b9348f881c373dbcdacef2a3b189d0cac203880 (patch) | |
tree | fe222e865f369f2a1a5675a632c8359231c5819e /lib/MDV/Draklive/Initrd.pm | |
parent | ed80c570d284d006d1fb4fd2adfcac6c3b6087f8 (diff) | |
download | draklive-9b9348f881c373dbcdacef2a3b189d0cac203880.tar draklive-9b9348f881c373dbcdacef2a3b189d0cac203880.tar.gz draklive-9b9348f881c373dbcdacef2a3b189d0cac203880.tar.bz2 draklive-9b9348f881c373dbcdacef2a3b189d0cac203880.tar.xz draklive-9b9348f881c373dbcdacef2a3b189d0cac203880.zip |
use add_splash for classical bootloader too
Diffstat (limited to 'lib/MDV/Draklive/Initrd.pm')
-rw-r--r-- | lib/MDV/Draklive/Initrd.pm | 6 |
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); } } |