Changeset 2462 in MondoRescue for branches/2.2.10/mindi/rootfs/sbin/post-init


Ignore:
Timestamp:
Oct 20, 2009, 4:07:00 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3548@localhost: bruno | 2009-10-16 19:18:27 +0200

  • mindi now boots in a QEMU VM without busybox
  • mindi is now noarch as a consequence
  • MINDI_LIB becomes MINDI_DATA for coherency and as a consequence
  • CACHEDIR becomes MINDI_CACHE for coherency and it's a build parameter and not hardcoded anymore in mindi
  • THat variable is also used at restore time for mondorestore.cfg e.g.
  • FAILSAFE kernel is gone. Just use another kernel of your choice. Most std kernels work anyway
  • TurnTgzIntoRdz rewritten and now really computes data disk size and not suppose its size
  • Interface mondo/mindi changed again => incompatible
  • Non-bootable media not supported anymore.
  • Mondorescue adapted to these changes but not tested yet
  • Doc updated as well
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/rootfs/sbin/post-init

    r2378 r2462  
    77sleep 1
    88
    9 echo "Here is my /tmp/mountlist.txt" >> $LOGFILE
    10 cat /tmp/mountlist.txt >> $LOGFILE
     9echo "Here is my $MINDI_CACHE/mountlist.txt" >> $LOGFILE
     10cat $MINDI_CACHE/mountlist.txt >> $LOGFILE
     11echo "-----------------------------------" >> $LOGFILE
     12
    1113
    1214iso=`grep iso $CMDLINE`
     
    4547
    4648mondoopt=""
    47 if [ "`grep -i 'obdr ' /tmp/mondo-restore.cfg 2> /dev/null`" ]; then
     49if [ "`grep -i 'obdr ' $MINDI_CACHE/mondorestore.cfg 2> /dev/null`" ]; then
    4850    mondoopt="$mondoopt -o -d $TAPEDEV"
    4951fi
     
    6062    mondorestore $mondoopt -Z nuke
    6163elif [ "$expert" ] ; then
    62     if [ "`grep tapedev /tmp/mondo-restore.cfg 2> /dev/null`" ] ; then
     64    if [ "`grep tapedev $MINDI_CACHE/mondorestore.cfg 2> /dev/null`" ] ; then
    6365    LogIt "-------------------TAPE MODE-------------------" 1
    6466    loc=`which mondorestore 2> /dev/null`
     
    7375            fi
    7476    fi
    75     elif [ "`grep using-cdstream /tmp/mondo-restore.cfg 2> /dev/null`" ] ; then
     77    elif [ "`grep using-cdstream $MINDI_CACHE/mondorestore.cfg 2> /dev/null`" ] ; then
    7678        LogIt "------------------CDSTREAM MODE------------------" 1
    7779        loc=`which mondorestore 2> /dev/null`
Note: See TracChangeset for help on using the changeset viewer.