Changeset 3460


Ignore:
Timestamp:
Sep 3, 2015, 11:00:30 PM (5 years ago)
Author:
Bruno Cornec
Message:
  • Fix #776 by only using -e option of genisoimage when UEFI systems are detected. Problem remaining is distribution not providing that option on a UEFI system anyway such as Debian 8.
File:
1 edited

Legend:

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

    r3430 r3460  
    16291629    char *full_isofs_cmd = NULL;
    16301630    char *mds = NULL;
     1631    char *uefistr = NULL;
    16311632    bool cd_is_mountable;
    16321633
     
    18151816                log_msg(1, "make_cd_use_lilo = FALSE");
    18161817                log_msg(1, "Isolinux");
    1817                 mr_asprintf(full_isofs_cmd, "%s%s%s-o '_ISO_' -V _CD#_ .",isofs_cmd,MONDO_MKISOFS_REGULAR_SYSLINUX,MONDO_MKISOFS_UEFI);
     1818                if (bkpinfo->boot_type == UEFI) {
     1819                    mr_asprintf(uefistr, "%s", MONDO_MKISOFS_UEFI);
     1820                } else {
     1821                    mr_asprintf(uefistr, " ");
     1822                }
     1823                mr_asprintf(full_isofs_cmd, "%s%s%s-o '_ISO_' -V _CD#_ .",isofs_cmd,MONDO_MKISOFS_REGULAR_SYSLINUX,uefistr);
     1824                mr_free(uefistr);
     1825
    18181826                res = eval_call_to_make_ISO(full_isofs_cmd, destfile, g_current_media_number, MONDO_LOGFILE, message_to_screen);
    18191827                mr_free(full_isofs_cmd);
Note: See TracChangeset for help on using the changeset viewer.