Ignore:
Timestamp:
Feb 27, 2015, 3:14:40 PM (9 years ago)
Author:
Bruno Cornec
Message:
  • Fix #769 by asking in newt mode whether the kernel found by mindi is the one the sysadmin want's to use
File:
1 edited

Legend:

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

    r3348 r3350  
    27552755            bkpinfo->zip_exe[0] = bkpinfo->zip_suffix[0] = '\0';
    27562756        }
     2757#if __FreeBSD__ == 5
     2758        strcpy(bkpinfo->kernel_path, "/boot/kernel/kernel");
     2759#elif __FreeBSD__ == 4
     2760        strcpy(bkpinfo->kernel_path, "/kernel");
     2761#elif linux
     2762        if (figure_out_kernel_path_interactively_if_necessary(bkpinfo->kernel_path)) {
     2763            fatal_error("Kernel not found. Please specify manually with the '-k' switch.");
     2764        }
     2765#else
     2766#error "I don't know about this system!"
     2767#endif
     2768
    27572769
    27582770        bkpinfo->verify_data =
Note: See TracChangeset for help on using the changeset viewer.