Ignore:
Timestamp:
Mar 10, 2024, 8:16:15 PM (2 months ago)
Author:
Bruno Cornec
Message:

Remove lilo bootable iso images feature obsolete - Change mondo/mindi interface as a consequence + nonbootable

File:
1 edited

Legend:

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

    r3885 r3888  
    346346 * - Used: @c bkpinfo->isodir
    347347 * - Used: @c bkpinfo->manual_cd_tray
    348  * - Used: @c bkpinfo->make_cd_use_lilo
    349348 * - Used: @c bkpinfo->media_device
    350349 * - Used: @c bkpinfo->netfs_mount
     
    431430    if (bkpinfo->backup_media_type == optical) {
    432431        if ((cdr_exe = find_home_of_exe("growisofs")) == NULL) {
     432            mr_free(cdr_exe);
    433433            fatal_error("Please install growisofs.");
    434434        }
    435         if
    436435#ifdef __FreeBSD__
    437             (TRUE)
     436        mr_asprintf(mondo_mkisofs_sz, MONDO_GROWISOFS_REGULAR_LILO);
    438437#else
    439             (bkpinfo->make_cd_use_lilo)
     438        mondo_mkisofs_sz = mr_compute_uefi_string(cdr_exe);
    440439#endif
    441     {
    442         mr_asprintf(mondo_mkisofs_sz, MONDO_GROWISOFS_REGULAR_LILO);
    443     }
    444         else {
    445             mondo_mkisofs_sz = mr_compute_uefi_string(cdr_exe);
    446         }
    447440        mr_free(cdr_exe);
    448441
     
    494487        mr_free(tmp);
    495488
    496         if
    497489#ifdef __FreeBSD__
    498             (TRUE)
     490        mr_asprintf(mondo_mkisofs_sz, "%s%s ", isofs_cmd, MONDO_MKISOFS_REGULAR_LILO);
    499491#else
    500             (bkpinfo->make_cd_use_lilo)
     492        mondo_mkisofs_sz = mr_compute_uefi_string(isofs_cmd);
    501493#endif
    502     {
    503         mr_asprintf(mondo_mkisofs_sz, "%s%s ", isofs_cmd, MONDO_MKISOFS_REGULAR_LILO);
    504     }
    505         else {
    506                 mondo_mkisofs_sz = mr_compute_uefi_string(isofs_cmd);
    507         }
    508494        mr_free(isofs_cmd);
    509495
     
    970956    bkpinfo->please_dont_eject = FALSE;
    971957    bkpinfo->manual_cd_tray = FALSE;
    972     bkpinfo->make_cd_use_lilo = FALSE;
    973958    bkpinfo->use_obdr = FALSE;
    974959    bkpinfo->restore_mode = interactive;
Note: See TracChangeset for help on using the changeset viewer.