summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-03-09 18:07:35 +0000
committerOlivier Blin <oblin@mandriva.org>2006-03-09 18:07:35 +0000
commita838dea00c5ea6605168e2b21f941ba7140827d1 (patch)
treea25c7bfd51c10f116cef15d2438a90ddd11b47b0
parent0c7f4615b8176eb84b043b7d0dc14e0ab441903b (diff)
downloaddrakx-a838dea00c5ea6605168e2b21f941ba7140827d1.tar
drakx-a838dea00c5ea6605168e2b21f941ba7140827d1.tar.gz
drakx-a838dea00c5ea6605168e2b21f941ba7140827d1.tar.bz2
drakx-a838dea00c5ea6605168e2b21f941ba7140827d1.tar.xz
drakx-a838dea00c5ea6605168e2b21f941ba7140827d1.zip
allow to run syslinux without the "slow, safe, stupid" workaround (using the "fast_syslinux" key in media hash)
-rwxr-xr-xtools/draklive5
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: