Changeset 1236 in MondoRescue for branches/2.2.2/mindi


Ignore:
Timestamp:
Mar 12, 2007, 12:23:16 AM (17 years ago)
Author:
Bruno Cornec
Message:

Port from stable important patches for 2.2.2:
mindi-busybox:

  • Improve Gentoo packaging

mindi:

  • Better messages for analyze-my-lvm
  • Add support for newer Qlogic drivers (qla2300 & 2400), mpt, dm and ohci
  • Fix a bug in mindi for the FAILSAFE support
  • PATH fixed for init in restore (/usr/games added for petris)
  • Fiw a bug where restore failing because no archive files are found when -G is used
  • /media is now completely excluded as per StandardsCompliance

mondo:

  • Handle no compression + verify correctly
  • various HOWTO fixes
  • Fix temporarily a bug when a biggiefile > 32MB was compressed below the size

of a slice (16MB)

  • Better module loading in insmod_crucial_modules
  • Improve Gentoo packaging
  • Small typo fix for mondorestore man page
  • Small memory management improvements
  • Store NFS config only once
  • Fix a flaw in libmondo-mountlist.c (there since rev [1] !!)
  • Increased MAX_STR_LEN to 384 to make it divisible without remainder by eight

for 64 bits platforms

  • Fix a bug where no bzip2 format file would be found when supporting gzip
  • CentOS fixes
Location:
branches/2.2.2/mindi
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.2/mindi/ChangeLog

    r1231 r1236  
    551.2.2 (2007-03-08)
    66- Add the DENY_MODS variable in mindi allowing to describes modules that you don't want to include as part of the restore boot environment (HP Open Call OCMP e.g; needs it) (Bruno Cornec)
    7 - Add GetInitrdFilesystemToUse function to support initramfs type of initrd
    8  (SuSE 10.2/Debian 3.x/FC 6/...) (Andree Leidenfrost)
     7- Add GetInitrdFilesystemToUse function to support initramfs type of initrd (SuSE 10.2/Debian 3.x/FC 6/...) (Andree Leidenfrost)
    98- Fix a bug for ia64 in kernel reference in elilo.conf (Andree Leidenfrost)
    109- Check that /boot/efi is mounted on ia64 (Andree Leidenfrost)
    1110- Protect some rm -rf to avoid raw removals (Bruno Cornec)
     11- Better messages for analyze-my-lvm (Bruno Cornec)
     12- Add support for newer Qlogic drivers (qla2300 & 2400), mpt, dm and ohci (Josef Jetzinger/Bruno Cornec)
     13- Fix a bug in mindi for the FAILSAFE support (Scott Cummings)
     14- PATH fixed for init in restore (/usr/games added for petris) (Andree Leidenfrost)
     15- Fiw a bug where restore failing because no archive files are found when -G is used (Andree Leidenfrost)
     16- /media is now completely excluded as per StandardsCompliance (Bruno Cornec)
    1217
    13181.2.1 (2006-12-23)
  • branches/2.2.2/mindi/analyze-my-lvm

    r963 r1236  
    33# $Id$
    44#
    5 
    6 #------------------------- ANALYZE-MY-LVM ----------------------- Hugo Rabson
    7 # 07/14
    8 # - no longer blank first 4k of /dev/mdX
    9 #
    10 # 06/14/2004
    11 # - fixed "n >= 2.00" bug (shell doesn't handle floating points properly)
    12 # - handle dm_mod as well as dm-mod
    13 #
    14 # 02/18/2004
    15 # - nice patch to fix ListAllVolumeGroups() --- J. Richard
    16 # - patch to support LVM2 by Takeru Komoriya
    17 #
    18 # 10/15/2003
    19 # - fixed '-L'-handling to allow for floating-point gigabyte values
    20 #
    21 # 01/15/2003
    22 # - patch (LVM) by Brian Borgeson
    23 #
    24 # 12/10/2002
    25 # - patch by Benjamin Mampaey
    26 #
    27 # 09/05/2002
    28 # - additional patch by Ralph Gruwe
    29 #
    30 # 08/30/2002
    31 # - modified by Ralph Gruwe
    32 #
    33 # 10/01/2001
    34 # - last modified by Hugo :)
    35 #------------------------------------------------------------------------------
    365
    376Die() {
     
    186155ListAllLogicalVolumes() {
    187156    if [ $lvmversion = 2 ]; then
    188         $LVMCMD lvscan | grep "'" | cut -d"'" -f2
    189     else
    190         lvscan | grep '"' | cut -d'"' -f2
     157        $LVMCMD lvscan 2> /dev/null | grep "'" | cut -d"'" -f2
     158    else
     159        lvscan 2> /dev/null | grep '"' | cut -d'"' -f2
    191160    fi
    192161}
  • branches/2.2.2/mindi/install.sh

    r937 r1236  
    1212    local=${HEAD}$PREFIX
    1313    sublocal=$PREFIX
    14     if [ -f /usr/local/sbin/mindi ]; then
    15         echo "WARNING: /usr/local/sbin/mindi exists. You should probably remove your manual installation !"
    16     fi
    1714    if [ "_$CONFDIR" != "_" ]; then
    1815        conf=${HEAD}$CONFDIR/mindi
     
    2219        exit -1
    2320    fi
    24     echo $PATH | grep /usr/sbin > /dev/null || echo "Warning - your PATH environmental variable is BROKEN. Please add /usr/sbin to your PATH."
    2521else
    2622    local=/usr/local
     
    9086install -m 644 ChangeLog COPYING README README.busybox README.ia64 README.pxe TODO INSTALL svn.log $DOCDIR
    9187
    92 if [ ! -f $locallib/mindi/rootfs/bin/busybox ]; then
     88if [ "_$PREFIX" = "_" ] && [ ! -f $locallib/mindi/rootfs/bin/busybox ]; then
    9389        echo "WARNING: no busybox found, mindi will not work on this arch ($ARCH)"
    9490fi
  • branches/2.2.2/mindi/rootfs/sbin/init

    r911 r1236  
    424424trap CaughtSoftReset SIGTERM
    425425LOGFILE=/tmp/mondo-restore.log
    426 PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/mondo:/usr/local/mondo:/usr/local/mindi:.
     426PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/mondo:/usr/games
    427427GROOVY=/tmp/groovy-stuff
    428428USER=root
     
    539539    LogIt "I think this CD/floppy has no archives on it."
    540540fi
    541 echo -en "Type 'exit' to reboot the PC\r"
     541echo -en "Type 'exit' to reboot the PC\n"
    542542umount /mnt/cdrom 2> /dev/null
    543543mount / -o rw,remount > /dev/null 2> /dev/null
Note: See TracChangeset for help on using the changeset viewer.