Changeset 3407 in MondoRescue
- Timestamp:
- Aug 6, 2015, 8:10:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi
r3406 r3407 1851 1851 PrepareBootDiskImage() { 1852 1852 # LILO originally 1853 local imagesdir dev imagefile fname i kernelpath cfg_file testpath options retval outstr old_pwd ooo max_kernel_size liloconf bootimage 1854 imagesdir=$MINDI_CACHE 1853 local dev imagefile fname i kernelpath cfg_file testpath options retval outstr old_pwd ooo max_kernel_size liloconf bootimage 1855 1854 kernelpath=$1 1856 1855 retval=0 … … 2010 2009 2011 2010 PrepareDataDiskImages() { 2012 local needlist bigdir diskdir imagesdir res i j k old_pwd lines lfiles includefile 2013 2014 imagesdir=$MINDI_CACHE 2015 rm -f $imagesdir/mindi.iso 2011 local needlist bigdir diskdir res i j k old_pwd lines lfiles includefile 2012 2013 rm -f $MINDI_CACHE/mindi.iso 2016 2014 needlist=$MINDI_TMP/what-we-need.txt 2017 2015 bigdir=$MINDI_TMP/bigdir … … 2125 2123 echo -en "Tarring and zipping the data content..." 2126 2124 size_of_all_tools=`du -sk $bigdir | cut -f1` 2127 (cd "$bigdir" ; tar -b 4096 -cf - . 2>> $MINDI_TMP/$$.log | gzip -9 > $ imagesdir/all.tar.gz || LogAll "ERROR: Problem creating all.tar.gz" $MINDI_TMP/$$.log)2125 (cd "$bigdir" ; tar -b 4096 -cf - . 2>> $MINDI_TMP/$$.log | gzip -9 > $MINDI_CACHE/all.tar.gz || LogAll "ERROR: Problem creating all.tar.gz" $MINDI_TMP/$$.log) 2128 2126 LogFile "Size of the data content" 2129 2127 LogFile "------------------------" 2130 du -sk $ imagesdir/*gz >> $LOGFILE2128 du -sk $MINDI_CACHE/*gz >> $LOGFILE 2131 2129 LogFile "------------------------" 2132 2130 echo -e "$DONE"
Note:
See TracChangeset
for help on using the changeset viewer.