Changeset 2603 in MondoRescue for branches/2.2.10/mondo


Ignore:
Timestamp:
Mar 22, 2010, 1:56:30 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3757@localhost: bruno | 2010-03-17 15:05:13 +0100

  • Adds a new interface param between mondoarchive and mindi for backup-media-type which was missing
  • Improve again logging
  • Try to improve keymap support
  • Remove some remaining hard coded /proc/cmdline
  • Adds a cache for the find command for modules launched twice to make it quicker on my Atom netboot in a QEMU VM
  • Remove dependency at build time on mindi to only use MINDI_CONF env var
Location:
branches/2.2.10/mondo
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/configure.in

    r2602 r2603  
    4949AC_DEFINE_UNQUOTED(MAX_NOOF_MEDIA, $max_noof_media, [Maximum number of media])
    5050AC_DEFINE_UNQUOTED(EXTTAPE, $exttape, [Tape blocksize])
     51
     52# We need to know where is mindi conf dir in order to add content to it
     53if [ "_$MINDI_CONF" != "_" ]; then
     54    export MINDI_CONF
     55else
     56    export MINDI_CONF=/usr/local/etc/mindi
     57fi
     58
    5159
    5260# ( which automake 2>/dev/null >/dev/null && ( automake --version 2>&1 | grep -q 1.5 || automake --version 2>&1 | grep -q 1.7 || AC_MSG_ERROR([Automake must be version 1.5 or 1.7, if you have it at all]) ) )
  • branches/2.2.10/mondo/deplist.d/Makefile.am

    r2602 r2603  
    1 mindiconfdir = `mindi --printvar MINDI_CONF`
    2 deplistdir = $(mindiconfdir)/deplist.d
     1conf=`if [ "_$(MINDI_CONF)" = "_" ]; then echo $(sysconfdir)/mindi; else echo $(MINDI_CONF); fi`
     2deplistdir = $(conf)/deplist.d
    33
    4 deplistdir_DATA = mondo.conf
     4deplist_DATA = mondo.conf
  • branches/2.2.10/mondo/src/common/libmondo-archive.c

    r2601 r2603  
    757757        fatal_error("Unknown backup_media_type");
    758758    }
    759     mr_free(value);
    760759
    761760    if ((bkpinfo->backup_media_type == usb) && (bkpinfo->media_device)) {
     
    808807            use_gzip_sz,        // parameter #19 (STRING)
    809808            use_lzma_sz,        // parameter #20 (STRING)
     809            value,              // parameter #21 (STRING)
    810810            MONDO_LOGFILE);
    811811
     812    mr_free(value);
    812813    mr_free(tmp2);
    813814    mr_free(tape_device);
  • branches/2.2.10/mondo/src/mondorestore/mondo-prep.c

    r2508 r2603  
    214214#endif
    215215
    216     tmp = call_program_and_get_last_line_of_output("cat /proc/cmdline");
     216    tmp = call_program_and_get_last_line_of_output("cat "CMDLINE);
    217217    if (strstr(tmp, "nolvm")) {
    218218        mr_free(tmp);
Note: See TracChangeset for help on using the changeset viewer.