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


Ignore:
Timestamp:
Aug 21, 2009, 1:47:12 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • Adds LZMA support (Fix #309)
  • Change
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/mindi

    r2329 r2338  
    912912    use_lzo=$USE_LZO; [ "$use_lzo" = "" ] && use_lzo="no"
    913913    use_gzip=$USE_GZIP; [ "$use_gzip" = "" ] && use_gzip="no"
     914    use_lzma=$USE_LZMA; [ "$use_lzma" = "" ] && use_lzma="no"
    914915    use_comp=$USE_COMP; [ "$use_comp" = "" ] && use_comp="yes"
    915916    use_star=$USE_STAR; [ "$use_star" = "" ] && use_star="no"
    916917    echo "use-lzo $use_lzo" >> $outfile
    917     echo "use-gzip $use_gzip" >> $outfile
     918    echo "use-lzma $use_lzma" >> $outfile
    918919    echo "use-star $use_star" >> $outfile
    919920    echo "use-comp $use_comp" >> $outfile
     
    23942395        [ "$USE_LZO" = "yes" ] && echo -en "Pras 4 Pres 2004" >> $mountpoint/tmp/USING-LZO
    23952396        [ "$USE_GZIP" = "yes" ] && echo -en "YES" >> $mountpoint/tmp/USING-GZIP
     2397        [ "$USE_LZMA" = "yes" ] && echo -en "YES" >> $mountpoint/tmp/USING-LZMA
    23962398        [ "$USE_COMP" = "yes" ] && echo -en "Compression, yep" >> $mountpoint/tmp/USING-COMP
    23972399        [ "$USE_STAR" = "yes" ] && echo -en "Using star. Hooray." >> $mountpoint/tmp/USING-STAR
     
    27572759        DIFFERENTIAL="${19}"
    27582760        USE_GZIP="${20}"
    2759         NOT_BOOT="${21}"
     2761        USE_LZMA="${21}"
     2762        NOT_BOOT="${22}"
    27602763        [ "$USE_COMP" = "" ] && USE_COMP=yes
    27612764        [ "$USE_GZIP" = "" ] && USE_GZIP=no
     2765        [ "$USE_LZMA" = "" ] && USE_LZMA=no
    27622766        [ "$NOT_BOOT" = "" ] && NOT_BOOT=no
    27632767        [ "$TAPEDEV" ] && LogIt "This is a tape-based backup. Fine."
Note: See TracChangeset for help on using the changeset viewer.