summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-09-25 09:41:07 +0000
committerOlivier Blin <oblin@mandriva.com>2008-09-25 09:41:07 +0000
commit37e60c5a311a4ce954727c6dc0f4b48e70672c71 (patch)
tree8b2af0150e16e49892fbd1ce94aa1df7bcbc4fc1 /draklive
parentd934423c3a4ea13e7f4a8aaaa6226bc9739ca262 (diff)
downloaddrakiso-37e60c5a311a4ce954727c6dc0f4b48e70672c71.tar
drakiso-37e60c5a311a4ce954727c6dc0f4b48e70672c71.tar.gz
drakiso-37e60c5a311a4ce954727c6dc0f4b48e70672c71.tar.bz2
drakiso-37e60c5a311a4ce954727c6dc0f4b48e70672c71.tar.xz
drakiso-37e60c5a311a4ce954727c6dc0f4b48e70672c71.zip
always copy gfxmenu to boot dir
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive5
1 files changed, 3 insertions, 2 deletions
diff --git a/draklive b/draklive
index c3ba3e1..b510bce 100755
--- a/draklive
+++ b/draklive
@@ -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!