diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-11-06 12:07:50 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-11-06 12:07:50 +0000 |
commit | 956ae9253e631ac216e173b50eb12635784a76da (patch) | |
tree | 2964acdcb5d1612aefcccbbbda146c14dbd412b8 | |
parent | 60d75942189c697f911623784e066e2ca6c55fb4 (diff) | |
download | drakiso-956ae9253e631ac216e173b50eb12635784a76da.tar drakiso-956ae9253e631ac216e173b50eb12635784a76da.tar.gz drakiso-956ae9253e631ac216e173b50eb12635784a76da.tar.bz2 drakiso-956ae9253e631ac216e173b50eb12635784a76da.tar.xz drakiso-956ae9253e631ac216e173b50eb12635784a76da.zip |
allow to skip bootloader install by setting live->{system}{skip_bootloader_install}
-rwxr-xr-x | draklive | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |