Changeset 2409 in MondoRescue for branches/2.2.9/mindi/mindi


Ignore:
Timestamp:
Sep 18, 2009, 3:25:35 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2393 r2409  
    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"
     
    18641866    includefile=$MINDI_TMP/$$.includefile.txt
    18651867
    1866     lfiles="$DEPLIST_FILE"
     1868    if [ -e "$DEPLIST_FILE" ]; then
     1869        lfiles="$DEPLIST_FILE $DEPLIST_DIR/*"
     1870    else
     1871        lfiles="$DEPLIST_DIR/*"
     1872    fi
    18671873    lines=`grep -vx " *#.*" $lfiles | grep -vx "" | wc -l`
    18681874    ParseModprobeForIncludes $includefile
Note: See TracChangeset for help on using the changeset viewer.