Changeset 2412 in MondoRescue for branches/2.2.10/mindi/mindi


Ignore:
Timestamp:
Sep 19, 2009, 1:28:31 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • sshfs also needs ssh at restore time in initrd
  • Better list of mandatory tools
  • Adds fuse and sshfs support in initrd
  • Split deplist.txt into multiple conf files under deplist.d in the conf dir. This will allow to have a minimal.conf file for initrd content to analyze to improve support of new embedded feature in the future (sshfs, live install). The other conf files contain the additional commands to put in the all.tar.gz. For the moment, mindi is still working the same. THis infra will allow that support in a near future. deplist.txt is now reserved for the admin additional commands.
  • Remove useless script

(Backport from 2.2.9)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/mindi

    r2406 r2412  
    9292fi
    9393DEPLIST_FILE="$MINDI_CONF/deplist.txt"
     94DEPLIST_DIR="$MINDI_CONF/deplist.d"
     95
    9496ISO_CMD="/usr/bin/mkisofs"
    9597ISO_OPT="-J -r -v -p Mindi -publisher http://www.mondorescue.org -A Mindi"
     
    18441846    includefile=$MINDI_TMP/$$.includefile.txt
    18451847
    1846     lfiles="$DEPLIST_FILE"
     1848    if [ -e "$DEPLIST_FILE" ]; then
     1849        lfiles="$DEPLIST_FILE $DEPLIST_DIR/*"
     1850    else
     1851        lfiles="$DEPLIST_DIR/*"
     1852    fi
    18471853    lines=`grep -vx " *#.*" $lfiles | grep -vx "" | wc -l`
    18481854    ParseModprobeForIncludes $includefile
     
    22312237        # We want to use the real mount and all the supported variants (nfs, cifs, ...)
    22322238        rm -f bin/mount $MINDI_TMP/busy.lis
    2233         mountlis=`grep mount $DEPLIST_FILE`
     2239        mountlis=`grep -E "mount|fuse|ssh" $DEPLIST_FILE $DEPLIST_DIR/* | cut -d: -f2`
    22342240        for f in $MINDI_LIB/rootfs/bin/busybox $mountlis ; do
    22352241            if [ -f $f ]; then
Note: See TracChangeset for help on using the changeset viewer.