summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index f0c538f..c3ba3e1 100755
--- a/draklive
+++ b/draklive
@@ -1146,6 +1146,8 @@ sub create_bootloader {
} else {
create_classical_bootloader($live);
}
+
+ run_({ root => get_system_root($live) }, '/usr/sbin/grub-gfxmenu', '--update-gfxmenu');
}
sub create_media_bootloader {
@@ -1169,7 +1171,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");
- run_({ root => get_system_root($live) }, '/usr/sbin/grub-gfxmenu', '--update-gfxmenu');
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',
@@ -1194,7 +1195,6 @@ $live->{media}{title} <kernel options>
sub create_classical_bootloader {
my ($live) = @_;
my $part_nb = 1; #- FIXME: get from partition layout config
- run_({ root => get_system_root($live) }, '/usr/sbin/grub-gfxmenu', '--update-gfxmenu');
output_p(get_system_root($live) . '/boot/grub/menu.lst', build_grub_cfg_raw($live, "/initrd.img", $part_nb));
}