diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-03-09 18:07:35 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-03-09 18:07:35 +0000 |
commit | a838dea00c5ea6605168e2b21f941ba7140827d1 (patch) | |
tree | a25c7bfd51c10f116cef15d2438a90ddd11b47b0 /tools | |
parent | 0c7f4615b8176eb84b043b7d0dc14e0ab441903b (diff) | |
download | drakx-backup-do-not-use-a838dea00c5ea6605168e2b21f941ba7140827d1.tar drakx-backup-do-not-use-a838dea00c5ea6605168e2b21f941ba7140827d1.tar.gz drakx-backup-do-not-use-a838dea00c5ea6605168e2b21f941ba7140827d1.tar.bz2 drakx-backup-do-not-use-a838dea00c5ea6605168e2b21f941ba7140827d1.tar.xz drakx-backup-do-not-use-a838dea00c5ea6605168e2b21f941ba7140827d1.zip |
allow to run syslinux without the "slow, safe, stupid" workaround (using the "fast_syslinux" key in media hash)
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/draklive | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/draklive b/tools/draklive index befe4069c..97cbd343a 100755 --- a/tools/draklive +++ b/tools/draklive @@ -723,8 +723,9 @@ sub record_usb_master { unless $opts->{boot_only}; run_('umount', $live->{mnt}); maybe_umount_device($device); - #- use syslinux -s, "safe, slow and stupid" version of SYSLINUX - run_('syslinux', '-s', $device) or die "unable to run syslinux on $device"; + #- use syslinux -s, "safe, slow and stupid" version of SYSLINUX, unless specified otherwise + run_('syslinux', if_(!$media->{fast_syslinux}, '-s'), $device) + or die "unable to run syslinux on $device"; } #- $opts: |