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
Location:
branches/2.2.10/mondo/src/restore-scripts/mondo
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/restore-scripts/mondo/format-and-kludge-vfat

    r2186 r2462  
    115115umount /mnt/tmpK || Die "Can't unmount /mnt/tmpK"
    116116
    117 ideal_size=`grep "$device " /tmp/mountlist.txt | tr -s ' ' ' ' | cut -d' ' -f4`
     117ideal_size=`grep "$device " $MINI_CACHE/mountlist.txt | tr -s ' ' ' ' | cut -d' ' -f4`
    118118if [ "$ideal_size" = "" ]; then
    119119    LogIt "format-and-kludge-vfat --- can't find $device in mountlist" 1
  • branches/2.2.10/mondo/src/restore-scripts/mondo/grub-MR

    r2451 r2462  
    9393
    9494if [ "$#" -ne "2" ] ; then
    95     Die "grub-MR <MBR drive> <mountlist filename>; e.g. grub-MR /dev/hda /tmp/mountlist.txt"
     95    Die "grub-MR <MBR drive> <mountlist filename>; e.g. grub-MR /dev/hda $MINDI_CACHE/mountlist.txt"
    9696fi
    9797[ ! -f "$2" ] && Die "mountlist file not found"
  • branches/2.2.10/mondo/src/restore-scripts/mondo/label-partitions-as-necessary

    r2172 r2462  
    5555LogIt "Identifying your drives with tune2fs"
    5656if [ "$#" -ne "1" ] ; then
    57     LogIt "label-partitions-as-necessary /tmp/mountlist.txt < /tmp/fstab.new" 1
     57    LogIt "label-partitions-as-necessary $MINDI_CACHE/mountlist.txt < /tmp/fstab.new" 1
    5858    exit 1
    5959fi
  • branches/2.2.10/mondo/src/restore-scripts/mondo/mount-me

    r680 r2462  
    11#!/bin/sh
    22
    3 mountlist=/tmp/mountlist.txt
     3mountlist=$MINDI_CACHE/mountlist.txt
    44
    55if [ "$#" -ne "0" ] ;then
  • branches/2.2.10/mondo/src/restore-scripts/mondo/stabelilo-me

    r1567 r2462  
    122122
    123123WhatIsFirstDriveCalled() {
    124     cut -d' ' -f1 /tmp/mountlist.txt \
     124    cut -d' ' -f1 $MINDI_CACHE/mountlist.txt \
    125125| sed s/[0-9]// | sed s/[0-9]// \
    126126| sort -u | head -n 1
     
    133133LocateOldFstab
    134134LocateOldElilo
    135 old_mountlist=/tmp/mountlist.original
    136 new_mountlist=/tmp/mountlist.txt
     135old_mountlist=$MINDI_CACHE/mountlist.original
     136new_mountlist=$MINDI_CACHE/mountlist.txt
    137137QuitIfNotFound $old_mountlist
    138138QuitIfNotFound $new_mountlist
  • branches/2.2.10/mondo/src/restore-scripts/mondo/stabgrub-me

    r2451 r2462  
    116116LocateOldFstab
    117117LocateOldGrub
    118 old_mountlist=/tmp/mountlist.original
    119 new_mountlist=/tmp/mountlist.txt
     118old_mountlist=$MINDI_CACHE/mountlist.original
     119new_mountlist=$MINDI_CACHE/mountlist.txt
    120120QuitIfNotFound $old_mountlist
    121121QuitIfNotFound $new_mountlist
  • branches/2.2.10/mondo/src/restore-scripts/mondo/stablilo-me

    r567 r2462  
    9191
    9292WhatIsFirstDriveCalled() {
    93     cut -d' ' -f1 /tmp/mountlist.txt \
     93    cut -d' ' -f1 $MINDI_CACHE/mountlist.txt \
    9494| sed s/[0-9]// | sed s/[0-9]// \
    9595| sort -u | head -n 1
     
    101101LogIt "stablilo-me --- starting"
    102102LocateOldFstab
    103 old_mountlist=/tmp/mountlist.original
    104 new_mountlist=/tmp/mountlist.txt
     103old_mountlist=$MINDI_CACHE/mountlist.original
     104new_mountlist=$MINDI_CACHE/mountlist.txt
    105105QuitIfNotFound $old_mountlist
    106106QuitIfNotFound $new_mountlist
  • branches/2.2.10/mondo/src/restore-scripts/mondo/stabraw-me

    r1315 r2462  
    8282LogIt "stabraw-me --- starting"
    8383LocateOldFstab
    84 old_mountlist=/tmp/mountlist.original
    85 new_mountlist=/tmp/mountlist.txt
     84old_mountlist=$MINDI_CACHE/mountlist.original
     85new_mountlist=$MINDI_CACHE/mountlist.txt
    8686QuitIfNotFound $old_mountlist
    8787QuitIfNotFound $new_mountlist
  • branches/2.2.10/mondo/src/restore-scripts/mondo/unmount-me

    r567 r2462  
    11#!/bin/sh
    22
    3 mountlist=/tmp/mountlist.txt
     3mountlist=$MINDI_CACHE/mountlist.txt
    44
    55if [ "$#" -ne "0" ] ;then
Note: See TracChangeset for help on using the changeset viewer.