diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-10-14 16:18:23 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-10-14 16:18:23 +0000 |
commit | 7e338fd436f0d505efdd8c76289ef24271f01eb8 (patch) | |
tree | bda527e1bf73a1aa861d99611ba68220201c8b2f /lib/MDV | |
parent | 7d65dd71f344d7d0acbd38089c2bcbbb501550bf (diff) | |
download | draklive-7e338fd436f0d505efdd8c76289ef24271f01eb8.tar draklive-7e338fd436f0d505efdd8c76289ef24271f01eb8.tar.gz draklive-7e338fd436f0d505efdd8c76289ef24271f01eb8.tar.bz2 draklive-7e338fd436f0d505efdd8c76289ef24271f01eb8.tar.xz draklive-7e338fd436f0d505efdd8c76289ef24271f01eb8.zip |
move down require
Diffstat (limited to 'lib/MDV')
-rw-r--r-- | lib/MDV/Draklive/Initrd.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm index ff32e37..b2375b0 100644 --- a/lib/MDV/Draklive/Initrd.pm +++ b/lib/MDV/Draklive/Initrd.pm @@ -274,13 +274,13 @@ sub compress_initrd_tree { sub add_splash { my ($live, $initrd) = @_; if ($live->{system}{vga_mode} && $live->{system}{splash} ne 'no') { - require bootloader; my $tmp_initrd = '/tmp/initrd.gz'; cp_f($initrd, $live->get_system_root . $tmp_initrd); { local $::prefix = $live->get_system_root; #- also calls switch-themes -u (through make-boot-splash) #- which will regenerate gfxboot current link + require bootloader; bootloader::add_boot_splash($tmp_initrd, $live->{system}{vga_mode}); } cp_f($live->get_system_root . $tmp_initrd, $initrd); |