summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-11-06 12:07:50 +0000
committerOlivier Blin <oblin@mandriva.com>2009-11-06 12:07:50 +0000
commit956ae9253e631ac216e173b50eb12635784a76da (patch)
tree2964acdcb5d1612aefcccbbbda146c14dbd412b8
parent60d75942189c697f911623784e066e2ca6c55fb4 (diff)
downloaddraklive-956ae9253e631ac216e173b50eb12635784a76da.tar
draklive-956ae9253e631ac216e173b50eb12635784a76da.tar.gz
draklive-956ae9253e631ac216e173b50eb12635784a76da.tar.bz2
draklive-956ae9253e631ac216e173b50eb12635784a76da.tar.xz
draklive-956ae9253e631ac216e173b50eb12635784a76da.zip
allow to skip bootloader install by setting live->{system}{skip_bootloader_install}
-rwxr-xr-xdraklive3
1 files changed, 3 insertions, 0 deletions
diff --git a/draklive b/draklive
index 76758f0..26256e6 100755
--- a/draklive
+++ b/draklive
@@ -896,6 +896,9 @@ EOG
sub install_usb_bootloader {
my ($live, $media, $boot_device, $opts) = @_;
+
+ return if $live->{system}{skip_bootloader_install};
+
my $media_boot = $live->get_media_prefix('boot', $opts->{boot});
my $device = get_media_device($live, $opts);
my $bootloader = $media->get_boot_setting('bootloader', $opts);