diff options
| -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! |
