summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-14 16:18:23 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-14 16:18:23 +0000
commit7e338fd436f0d505efdd8c76289ef24271f01eb8 (patch)
treebda527e1bf73a1aa861d99611ba68220201c8b2f /lib/MDV/Draklive
parent7d65dd71f344d7d0acbd38089c2bcbbb501550bf (diff)
downloaddrakiso-7e338fd436f0d505efdd8c76289ef24271f01eb8.tar
drakiso-7e338fd436f0d505efdd8c76289ef24271f01eb8.tar.gz
drakiso-7e338fd436f0d505efdd8c76289ef24271f01eb8.tar.bz2
drakiso-7e338fd436f0d505efdd8c76289ef24271f01eb8.tar.xz
drakiso-7e338fd436f0d505efdd8c76289ef24271f01eb8.zip
move down require
Diffstat (limited to 'lib/MDV/Draklive')
-rw-r--r--lib/MDV/Draklive/Initrd.pm2
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);