Ignore:
Timestamp:
May 6, 2015, 11:43:08 PM (5 years ago)
Author:
Bruno Cornec
Message:
  • Fix GRUB detection issu on UEFI based systems
  • Initialize Boot type for non interactive setup as well
  • Syntax fix
File:
1 edited

Legend:

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

    r3378 r3379  
    406406#ifdef DVDRWFORMAT
    407407        if (!find_home_of_exe("dvd+rw-format")) {
    408             fatal_error
    409                 ("Cannot find dvd+rw-format. Please install it or fix your PATH.");
     408            fatal_error("Cannot find dvd+rw-format. Please install it or fix your PATH.");
    410409        }
    411410#endif
    412411        if (!find_home_of_exe("growisofs")) {
    413             fatal_error
    414                 ("Cannot find growisofs. Please install it or fix your PATH.");
     412            fatal_error("Cannot find growisofs. Please install it or fix your PATH.");
    415413        }
    416414    }
     
    669667        if ((!does_file_exist("/boot/grub/menu.lst")) && (!does_file_exist("/boot/grub/grub.cfg")) && (!does_file_exist("/boot/grub2/grub.cfg"))) {
    670668            /* if UEFI then search under /boot/efi */
    671             mr_asprintf(tmp, "%s", call_program_and_get_last_line_of_output("find /boot/efi -name grub.conf");
     669            mr_asprintf(tmp, "%s", call_program_and_get_last_line_of_output("find /boot/efi -name grub.conf"));
    672670            if (strstr(tmp, "grub.conf") == NULL) {
    673671                mr_free(bootldr_str);
Note: See TracChangeset for help on using the changeset viewer.