Ignore:
Timestamp:
Jan 27, 2011, 7:31:24 PM (13 years ago)
Author:
Bruno Cornec
Message:

r4180@localhost: bruno | 2011-01-27 10:26:41 +0100

  • Fix multiple port issues from 2.2.9 that prevented mindi to work
  • Change interface of call_program_and_get_last_line_of_output to allow not logging (call to mindi)
  • Status is working boot, but NFS interface broken due to conf file issues
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/mondorestore/mondo-prep.c

    r2623 r2704  
    213213#endif
    214214
    215     tmp = call_program_and_get_last_line_of_output("cat "CMDLINE);
     215    tmp = call_program_and_get_last_line_of_output("cat "CMDLINE,TRUE);
    216216    if (strstr(tmp, "nolvm")) {
    217217        mr_free(tmp);
     
    336336            if (lvmversion == 2) {
    337337                mr_asprintf(tmp1, "tail -n5 %s | grep Insufficient | tail -n1", MONDO_LOGFILE);
    338                 tmp = call_program_and_get_last_line_of_output(tmp1);
     338                tmp = call_program_and_get_last_line_of_output(tmp1,TRUE);
    339339                mr_free(tmp1);
    340340            } else {
    341341                mr_asprintf(tmp1, "tail -n5 %s | grep lvcreate | tail -n1", MONDO_LOGFILE);
    342                 tmp = call_program_and_get_last_line_of_output(tmp1);
     342                tmp = call_program_and_get_last_line_of_output(tmp1,TRUE);
    343343                mr_free(tmp1);
    344344            }
     
    15791579    if (pout_to_fdisk) {
    15801580        // mark relevant partition as bootable
    1581         tmp1 = call_program_and_get_last_line_of_output ("make-me-bootable "MINDI_CACHE"/mountlist.txt dummy");
     1581        tmp1 = call_program_and_get_last_line_of_output ("make-me-bootable "MINDI_CACHE"/mountlist.txt dummy",TRUE);
    15821582        mr_asprintf(tmp, "a\n%s\n", tmp1);
    15831583        mr_free(tmp1);
Note: See TracChangeset for help on using the changeset viewer.