From a838dea00c5ea6605168e2b21f941ba7140827d1 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 9 Mar 2006 18:07:35 +0000 Subject: allow to run syslinux without the "slow, safe, stupid" workaround (using the "fast_syslinux" key in media hash) --- tools/draklive | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools') 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: -- cgit v1.2.1