diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-10-29 19:50:26 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-10-29 19:50:26 +0000 |
commit | fbd41454cced4f7490ed5ea5852a6112b7c28e48 (patch) | |
tree | 5f96fb6fc47331c1bec1f82a7f0531f8643e75c6 | |
parent | 27b2a332fbe3ed28dedec35e3980a1e966e641ee (diff) | |
download | draklive-fbd41454cced4f7490ed5ea5852a6112b7c28e48.tar draklive-fbd41454cced4f7490ed5ea5852a6112b7c28e48.tar.gz draklive-fbd41454cced4f7490ed5ea5852a6112b7c28e48.tar.bz2 draklive-fbd41454cced4f7490ed5ea5852a6112b7c28e48.tar.xz draklive-fbd41454cced4f7490ed5ea5852a6112b7c28e48.zip |
copy gfxboot files to the media before creating the syslinux.cfg
-rwxr-xr-x | draklive | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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}; |