Ignore:
Timestamp:
May 7, 2007, 2:07:32 PM (17 years ago)
Author:
Bruno Cornec
Message:
  • Fix a Debian packaging bug
  • Do not use mindi-boot.2880.img (which may not exist) anymore in mondorestore
  • Adds a debuging message for image_devs for mondo
  • Adds some useful log info for debugging at restore time in init
  • Debian stores its optimised libraries in /lib/i686/cmov now. (Andree Leidenfrost)
  • Fix a bug on lsmod | sed. (Andree Leidenfrost). As a consequence, lsmod is not used anymo

re in mindi (except for log). Replaced by /proc/modules. And the MODULES variable is now us
ed to avoid code duplication.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c

    r1384 r1408  
    22232223            }
    22242224        } else {
    2225             mr_msg(2,
     2225            /* BERLIOS : Useless ? */
     2226            /* That boot image doesn't always exist where the following method always works
     2227            log_msg(2,
    22262228                    "gcffa --- looking at mounted CD for mindi-boot.2880.img");
    2227             /* BERLIOS : Useless ?
    22282229            mr_asprintf(&command,
    22292230                    "mount " MNT_CDROM
     
    22322233            mr_asprintf(&mounted_cfgf_path, "%s/%s", mountpt, cfg_file);
    22332234            if (!does_file_exist(mounted_cfgf_path)) {
    2234                 mr_msg(2,
    2235                         "gcffa --- Plan C, a.k.a. untarring some file from all.tar.gz");
     2235                log_msg(2,
     2236                        "gcffa --- Plan B, a.k.a. untarring some file from all.tar.gz");
    22362237                mr_asprintf(&command, "tar -zxvf " MNT_CDROM "/images/all.tar.gz %s %s %s %s %s", MOUNTLIST_FNAME_STUB, MONDO_CFG_FILE_STUB, BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "tmp/i-want-my-lvm"); // add -b TAPE_BLOCK_SIZE if you _really_ think it's necessary
    22372238                run_program_and_log_output(command, TRUE);
Note: See TracChangeset for help on using the changeset viewer.