Changeset 3502 in MondoRescue for branches/3.2/mindi/mindi
- Timestamp:
- Feb 9, 2016, 2:34:54 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi
r3499 r3502 106 106 DEPLIST_DIR="$MINDI_CONF/deplist.d" 107 107 108 ISO_CMD="/usr/bin/mkisofs" 108 # Debian 8 system e.g. use xorriso for UEFI support. 109 # However, they use exactly the same command line parameters as mkisofs, so just 110 # use it if it's available. 111 ISO_CMD="/usr/bin/xorriso" 112 113 # Mandriva system e.g. use cdrkit, which uses genisoimage. 114 # However, they use exactly the same command line parameters as mkisofs, so just 115 # use it if it's available. 116 if [ ! -x $ISO_CMD ]; then 117 ISO_CMD=/usr/bin/genisoimage 118 fi 119 120 # For compatibility with previous versions default to mkisofs 121 if [ ! -x $ISO_CMD ]; then 122 ISO_CMD=/usr/bin/mkisofs 123 fi 124 109 125 ISO_OPT="-J -r -v -p Mindi -publisher http://www.mondorescue.org -A Mindi" 110 126 … … 123 139 [ ! -r "$MBRFILE" ] && MBRFILE=/usr/share/lib64/syslinux/mbr.bin 124 140 fi 125 126 # Mandriva system e.g. use cdrkit, which uses genisoimage instead of mkisofs.127 # However, they use exactly the same command line parameters, so just128 # use genisoimage if it's available.129 if [ ! -x $ISO_CMD ]; then130 ISO_CMD=/usr/bin/genisoimage131 fi132 133 141 134 142 # Function to log on screen only … … 1467 1475 local i old_pwd files 1468 1476 if [ -z "$ISO_CMD" ]; then 1469 LogAll "ERROR: Neither mkisofs nor genisoimage found, unable to make CD image"1477 LogAll "ERROR: Neither mkisofs nor genisoimage nor xorriso found, unable to make CD image" 1470 1478 return 1471 1479 fi
Note:
See TracChangeset
for help on using the changeset viewer.