Changeset 3598 in MondoRescue for branches


Ignore:
Timestamp:
Jul 8, 2016, 4:44:32 PM (8 years ago)
Author:
Bruno Cornec
Message:

Try to fix xorriso usage for UEFI support on Debian 8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3597 r3598  
    17871787            echo "$CMD" | grep -q "xorriso"
    17881788            if [ $? -eq 0 ]; then
    1789                 CMD="$ISO_CMD $ISO_OPT -eltorito-alt-boot --efi-boot images/mindi-bootroot.img -no-emul-boot"
     1789                XOV=`xorriso --version 2>&1 | head -1 | awk '{print $3}'`
     1790                XOVMAJ=`echo $XOV | cut -d. -f1`
     1791                XOVMIN=`echo $XOV | cut -d. -f2`
     1792                if [ $XOVMAJ -ge 1 && $XOVMIN -ge 3 ]; then
     1793                    CMD="$ISO_CMD $ISO_OPT -eltorito-alt-boot -e images/mindi-bootroot.img -no-emul-boot"
     1794                else
     1795                    CMD="$ISO_CMD $ISO_OPT -eltorito-alt-boot --efi-boot images/mindi-bootroot.img"
     1796                fi
    17901797            else
    17911798                CMD="$ISO_CMD $ISO_OPT -eltorito-alt-boot -efi-boot images/mindi-bootroot.img -no-emul-boot"
Note: See TracChangeset for help on using the changeset viewer.