summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-11-09 23:55:14 +0000
committerOlivier Blin <oblin@mandriva.com>2009-11-09 23:55:14 +0000
commitb484f8842686220f4a24cd059b8de5bb6d8822aa (patch)
tree277d93bed1c003665b28f3ccbd29d4ea95762fa0 /draklive
parent2d810615072236d104e24cf723378ccf723bdab8 (diff)
downloaddrakiso-b484f8842686220f4a24cd059b8de5bb6d8822aa.tar
drakiso-b484f8842686220f4a24cd059b8de5bb6d8822aa.tar.gz
drakiso-b484f8842686220f4a24cd059b8de5bb6d8822aa.tar.bz2
drakiso-b484f8842686220f4a24cd059b8de5bb6d8822aa.tar.xz
drakiso-b484f8842686220f4a24cd059b8de5bb6d8822aa.zip
create media specific gfxmenu if needed only
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index c9fa706..87dccda 100755
--- a/draklive
+++ b/draklive
@@ -499,7 +499,7 @@ sub create_bootloader {
create_classical_bootloader($live);
}
- if ($live->{system}{gfxboot}) {
+ if ($live->{system}{gfxboot} && need_media_specific_boot($live)) {
run_({ root => $live->get_system_root }, '/usr/sbin/grub-gfxmenu', '--update-gfxmenu');
my $boot_dir = $live->get_builddir . $live->{prefix}{build}{boot};
mkdir_p($boot_dir);