- Timestamp:
- Jul 6, 2016, 4:15:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi
r3595 r3596 127 127 fi 128 128 129 ISO_OPT="-J -r -v -p Mindi -publisher http://www.mondorescue.org -A Mindi -V Mindi -Image-o $MINDI_CACHE/mindi.iso "129 ISO_OPT="-J -r -v -p Mindi -publisher http://www.mondorescue.org -A Mindi -V MindiCD -o $MINDI_CACHE/mindi.iso " 130 130 131 131 # Mindi set this as default in case it's invoked alone … … 1468 1468 1469 1469 LogFile "----------- $ISO_CMD's errors --------------" 1470 LogAll "Command invoked: $CMD ." 1470 1471 LogAll "$ISO_CMD returned the following errors:" 1471 1472 cat $MINDI_TMP/mkisofs.log | tee -a $LOGFILE … … 1475 1476 MakeISO() { 1476 1477 1477 LogAll "INFO: Invoking $CMD."1478 LogAll "INFO: Generating ISO image." 1478 1479 (cd "$MINDI_TMP/mpt" ; $CMD .) > /dev/null 2> $MINDI_TMP/mkisofs.log 1479 1480 if [ $? -ne 0 ] ; then 1481 # In case of UEFI handle differences in option handling 1480 1482 if [ "$BOOT_TYPE" = "UEFI" ]; then 1481 1483 CMD=`echo $CMD | perl -p -e 's|--efi-boot |-eltorito-platform 0xEF -eltorito-boot |; s|-efi-boot |-eltorito-platform 0xEF -eltorito-boot |;'` 1482 LogAll "INFO: Invoking instead $CMD"1483 1484 (cd "$MINDI_TMP/mpt" ; $CMD .) > /dev/null 2> $MINDI_TMP/mkisofs.log 1484 if [ $? -eq 0 ] ; then 1485 if [ $? -ne 0 ] ; then 1486 # xorriso e.g. 1487 CMD=`echo $CMD | perl -p -e 's|-eltorito-platform 0xEF ||'` 1488 (cd "$MINDI_TMP/mpt" ; $CMD .) > /dev/null 2> $MINDI_TMP/mkisofs.log 1489 if [ $? -eq 0 ] ; then 1490 LogAll "INFO: Invoking $CMD ." 1491 LogAll "INFO: Created bootable ISO image at $MINDI_CACHE/mindi.iso" 1492 else 1493 MakeISOErrors 1494 else 1495 LogAll "INFO: Invoking $CMD ." 1485 1496 LogAll "INFO: Created bootable ISO image at $MINDI_CACHE/mindi.iso" 1486 else1487 MakeISOErrors1488 1497 fi 1489 1498 else … … 1491 1500 fi 1492 1501 else 1502 LogAll "INFO: Invoking $CMD ." 1493 1503 LogAll "INFO: Created bootable ISO image at $MINDI_CACHE/mindi.iso" 1494 1504 fi
Note:
See TracChangeset
for help on using the changeset viewer.