diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-09-25 09:41:07 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-09-25 09:41:07 +0000 |
commit | 37e60c5a311a4ce954727c6dc0f4b48e70672c71 (patch) | |
tree | 8b2af0150e16e49892fbd1ce94aa1df7bcbc4fc1 | |
parent | d934423c3a4ea13e7f4a8aaaa6226bc9739ca262 (diff) | |
download | drakiso-37e60c5a311a4ce954727c6dc0f4b48e70672c71.tar drakiso-37e60c5a311a4ce954727c6dc0f4b48e70672c71.tar.gz drakiso-37e60c5a311a4ce954727c6dc0f4b48e70672c71.tar.bz2 drakiso-37e60c5a311a4ce954727c6dc0f4b48e70672c71.tar.xz drakiso-37e60c5a311a4ce954727c6dc0f4b48e70672c71.zip |
always copy gfxmenu to boot dir
-rwxr-xr-x | draklive | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1148,6 +1148,9 @@ sub create_bootloader { } run_({ root => get_system_root($live) }, '/usr/sbin/grub-gfxmenu', '--update-gfxmenu'); + my $boot_dir = get_builddir($live) . $live->{prefix}{build}{boot}; + mkdir_p($boot_dir); + cp_f(get_system_root($live) . '/boot/gfxmenu', $boot_dir); } sub create_media_bootloader { @@ -1171,8 +1174,6 @@ sub create_media_bootloader { warn "unable to find gfxboot splash ($bootlogo)\n" if ! -f $bootlogo; output_p($syslinux_dir . '/gfxboot.cfg', "livecd=1\n"); - cp_f(get_system_root($live) . '/boot/gfxmenu', get_builddir($live) . $live->{prefix}{build}{boot}); - output(get_builddir($live) . $live->{prefix}{build}{boot} . '/help.msg', pack("C*", 0x0E, 0x80, 0x03, 0x00, 0xC) . qq( Welcome to Mandriva live! |