From fbd41454cced4f7490ed5ea5852a6112b7c28e48 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 29 Oct 2009 19:50:26 +0000 Subject: copy gfxboot files to the media before creating the syslinux.cfg --- draklive | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}; -- cgit v1.2.1