Ignore:
Timestamp:
Mar 10, 2024, 7:23:12 PM (3 months ago)
Author:
Bruno Cornec
Message:

Removes support for ia64 depracated in upstream kernel, and elilo

File:
1 edited

Legend:

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

    r3883 r3885  
    17711771    DIR *fd = NULL;
    17721772
    1773 #ifdef __IA64__
    1774     return(EFI);
    1775 #endif
    17761773    /* Try to detect whether we are in fact in UEFI mode */
    17771774    fd = opendir("/sys/firmware/efi");
     
    17881785 * Find out which boot loader is in use.
    17891786 * @param which_device Device to look for the boot loader on.
    1790  * @return 'L' for LILO, 'E'for ELILO, 'G' for GRUB, 'B' or 'D' for FreeBSD boot loaders, or 'U' for Unknown.
     1787 * @return 'L' for LILO, 'G' for GRUB, 'B' or 'D' for FreeBSD boot loaders, or 'U' for Unknown.
    17911788 * @note Under Linux, all drives are examined, not just @p which_device.
    17921789 */
     
    18131810        count_dangerouslydedicated++;
    18141811    }
    1815     log_it("%d grubs and %d lilos and %d elilos and %d boot0s and %d DD\n",
    1816            count_grubs, count_lilos, count_elilos, count_boot0s,
     1812    log_it("%d grubs and %d lilos andand %d boot0s and %d DD\n",
     1813           count_grubs, count_lilos, count_boot0s,
    18171814           count_dangerouslydedicated);
    18181815
     
    18511848
    18521849    /*@ end vars *************************************************** */
    1853 
    1854 #ifdef __IA64__
    1855     /* No choice for it */
    1856     return ('E');
    1857 #endif
    1858     if (bkpinfo->boot_type == EFI) {
    1859         /* No choice for it */
    1860         return ('E');
    1861     }
    18621850
    18631851    if (bkpinfo->boot_type == UEFI) {
     
    24552443            mr_asprintf(bkpinfo->boot_device, "%s", tmp1);
    24562444
    2457             if (does_string_exist_in_boot_block(bkpinfo->boot_device, "ELILO")) {
    2458                 i = 'E';
    2459             } else
    2460                 if (does_string_exist_in_boot_block(bkpinfo->boot_device, "LILO")) {
     2445            if (does_string_exist_in_boot_block(bkpinfo->boot_device, "LILO")) {
    24612446                i = 'L';
    24622447            } else
     
    25682553        }
    25692554// Interactive mode:
    2570 #ifdef __IA64__
    2571         bkpinfo->make_cd_use_lilo = TRUE;
    2572 #else
    25732555        bkpinfo->make_cd_use_lilo = FALSE;
    2574 #endif
    25752556        bkpinfo->backup_data = TRUE;
    25762557        if (strcmp(compression_type,"lzo") == 0) {
Note: See TracChangeset for help on using the changeset viewer.