Changeset 2939 in MondoRescue


Ignore:
Timestamp:
Feb 3, 2012, 1:01:18 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Fix #519 for good by cjecking syslinux version 4.02 and making a special call to --stupid for it. THat's all it deserves ;-)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r2938 r2939  
    16381638    umount $MINDI_TMP/usb
    16391639    if [ "$ARCH" != "ia64" ] ; then
    1640         syslinux -s $USBPART 2>> $MINDI_TMP/syslinux.log
    1641         if [ "$?" -ne "0" ] ; then
     1640        syslinux -v 2>&1 | grep -q 4.02
     1641        if [ $? -eq 0 ]; then
     1642            # This buggy version of syslinux requires a call to --stupid and not -s
     1643            syslinux --stupid $USBPART 2>> $MINDI_TMP/syslinux.log
     1644            res=$?
     1645        else
     1646            syslinux -s $USBPART 2>> $MINDI_TMP/syslinux.log
     1647            res=$?
     1648        fi
     1649        if [ $res -ne 0 ] ; then
    16421650            echo "----------- syslinux's errors --------------" |tee -a $LOGFILE
    16431651            cat $MINDI_TMP/syslinux.log |tee -a $LOGFILE
Note: See TracChangeset for help on using the changeset viewer.