summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive5
1 files changed, 4 insertions, 1 deletions
diff --git a/draklive b/draklive
index f380877..4e0814c 100755
--- a/draklive
+++ b/draklive
@@ -489,13 +489,16 @@ sub create_bootloader {
my $vmlinuz_long = '/boot/vmlinuz-' . $kernel;
-e $live->get_system_root . $vmlinuz_long or die "can not find kernel $kernel\n";
+ # this will copy (among other things) the gfxboot theme to the media
+ # so this must be done before the creating the bootloader since the code
+ # in there may check if a bootlogo is present or not
+ create_syslinux_msg_files($live);
if (need_media_specific_boot($live)) {
create_media_bootloader($live);
} else {
create_classical_bootloader($live);
}
- create_syslinux_msg_files($live);
if ($live->{system}{gfxboot}) {
run_({ root => $live->get_system_root }, '/usr/sbin/grub-gfxmenu', '--update-gfxmenu');
my $boot_dir = $live->get_builddir . $live->{prefix}{build}{boot};