summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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);