diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-12-07 14:49:20 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-12-07 14:49:20 +0000 |
commit | 459cb16bf5ff1736c692bdce051968c1ac07cd9b (patch) | |
tree | 0806ba9c1e50a7121adc4a7d0a0287c601d0d996 | |
parent | 55896ce3c58dff46404f423824628420243763c7 (diff) | |
download | draklive-459cb16bf5ff1736c692bdce051968c1ac07cd9b.tar draklive-459cb16bf5ff1736c692bdce051968c1ac07cd9b.tar.gz draklive-459cb16bf5ff1736c692bdce051968c1ac07cd9b.tar.bz2 draklive-459cb16bf5ff1736c692bdce051968c1ac07cd9b.tar.xz draklive-459cb16bf5ff1736c692bdce051968c1ac07cd9b.zip |
update gfxboot theme before copying gfxboot files
-rwxr-xr-x | draklive | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -495,16 +495,6 @@ 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); - } - if ($live->{system}{gfxboot}) { #- would be run by bootloader::add_boot_splash and make-boot-splash, but not called when we don't generate an initrd run_({ root => $live->get_system_root }, '/usr/share/bootsplash/scripts/switch-themes', '-u'); @@ -519,6 +509,17 @@ sub create_bootloader { warn "no gfxmenu file\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); + } } sub remove_unneeded_bootlogo_locales { |