Changeset 454 in MondoRescue for branches/stable/mindi/mindi
- Timestamp:
- Mar 24, 2006, 7:09:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r449 r454 64 64 65 65 if [ "$mindi_deplist_dir" == "" ]; then 66 DEPLIST_DIR=" /etc/mindi/deplist.d"66 DEPLIST_DIR="$MINDI_CONF/deplist.d" 67 67 else 68 68 DEPLIST_DIR="$mindi_deplist_dir" … … 328 328 biggienumber=$4 329 329 330 [ -d "$filename" ] && Die "Cannot chop up $filename: it's a directory. Please amend deplist .txtaccordingly."330 [ -d "$filename" ] && Die "Cannot chop up $filename: it's a directory. Please amend deplist file accordingly." 331 331 mkdir -p $outdir 332 332 … … 875 875 echo "$fname" >> $outfile.pre 876 876 cat $tempdepfile >> $outfile.pre 877 # echo "$fname ----> dependencies:-" >> $LOGFILE878 # cat $tempdepfile | tr -s '/' '/' | sort -u >> $LOGFILE879 # echo -en "(end of deplist of $fname)\n\n" >> $LOGFILE880 877 rm -f $tempdepfile 881 878 progress=$(($progress+1)) … … 1364 1361 if [ -d "/proc/lvm" ] || [ -d "/dev/mapper" ]; then 1365 1362 echo -en "\rAnalyzing LVM...\r" 1366 all_partitions=`$MINDI_ LIB/analyze-my-lvm | fgrep ">>>" | cut -d' ' -f2-32`1363 all_partitions=`$MINDI_SBIN/analyze-my-lvm | fgrep ">>>" | cut -d' ' -f2-32` 1367 1364 fi 1368 1365 all_partitions="$all_partitions `ListAllPartitions 2> /dev/null`" … … 2169 2166 tardir=$TMP_ROOT/tardir 2170 2167 2171 lines=`grep -vx " *#.*" $MINDI_CONF/deplist.txt | grep -vx "" | wc -l`2172 cat $MINDI_CONF/deplist.txt | GenerateGiantDependencyList $needlist $lines2168 lines=`grep -vx " *#.*" $MINDI_CONF/deplist.txt $DEPLIST_DIR/* | grep -vx "" | wc -l` 2169 cat $MINDI_CONF/deplist.txt $DEPLIST_DIR/* | GenerateGiantDependencyList $needlist $lines 2173 2170 res=$? 2174 2171 if [ "$YOUR_KERNEL_SUCKS" ]; then … … 2270 2267 cp -f $TMP_ROOT/mountlist.txt $CACHE_LOC 2271 2268 [ "`DidMondoCallMe`" ] && cp -f $minidir_root/$noof_disks/tmp/mountlist.txt $MONDO_TMP/. 2272 [ -d "/proc/lvm" ] && $MINDI_ LIB/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm2273 [ -d "/dev/mapper" ] && $MINDI_ LIB/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm2269 [ -d "/proc/lvm" ] && $MINDI_SBIN/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm 2270 [ -d "/dev/mapper" ] && $MINDI_SBIN/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm 2274 2271 cat $minidir_root/$noof_disks/tmp/mountlist.txt >> $LOGFILE 2275 2272 ZipMinidirsIntoTarballs $minidir_root $tardir $noof_disks … … 2954 2951 #----------------------------------- main -----------------------------------# 2955 2952 ############################################################################## 2956 2957 2958 #AWK=`which gawk`2959 #LocateDeps $12960 #MakeModuleLoadingScript /tmp/load-modules.sh2961 #exit 02962 2963 2964 #cat /etc/mindi/deplist.txt | GenerateGiantDependencyList /tmp/deplist.old 2002965 #exit 02966 2967 2953 2968 2954
Note:
See TracChangeset
for help on using the changeset viewer.