Ignore:
Timestamp:
Feb 9, 2016, 2:34:54 PM (8 years ago)
Author:
Bruno Cornec
Message:
  • Adds support for xorriso for UEFI distributions using it such as Debian 8
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-tools.c

    r3500 r3502  
    481481            fatal_error("Please install either cdrecord or dvdrecord.");
    482482        }
    483         if (find_home_of_exe("genisoimage")) {
     483        if (find_home_of_exe("xorriso")) {
     484            mr_asprintf(isofs_cmd, "%s", MONDO_XORRISO_CMD);
     485        else if (find_home_of_exe("genisoimage")) {
    484486            mr_asprintf(isofs_cmd, "%s", MONDO_GENISOIMAGE_CMD);
    485487        } else {
     
    934936#endif
    935937    retval += whine_if_not_found(MKE2FS_OR_NEWFS);
    936     if (system("which genisoimage > /dev/null 2> /dev/null")) {
    937         retval += whine_if_not_found("mkisofs");
     938    if (system("which xorriso > /dev/null 2> /dev/null")) {
     939        if (system("which genisoimage > /dev/null 2> /dev/null")) {
     940            retval += whine_if_not_found("mkisofs");
     941        }
    938942    }
    939943    if (system("which wodim > /dev/null 2> /dev/null")) {
Note: See TracChangeset for help on using the changeset viewer.