Setting default compression to none.

Normally, when using compressed file systems (squashfs),
there is no point in further compressing the tarballs and images.
This commit is contained in:
Daniel Baumann 2012-10-04 20:13:25 +02:00
parent 84dcf4ed02
commit 81029d0e72
1 changed files with 1 additions and 17 deletions

View File

@ -925,23 +925,7 @@ Set_defaults ()
LB_CHECKSUMS="${LB_CHECKSUMS:-sha256}"
# Setting compression
case "${LB_MODE}" in
progress)
LB_COMPRESSION="${LB_COMPRESSION:-none}"
;;
*)
case "${LB_PARENT_DISTRIBUTION}" in
squeeze)
LB_COMPRESSION="${LB_COMPRESSION:-gzip}"
;;
*)
LB_COMPRESSION="${LB_COMPRESSION:-xz}"
;;
esac
;;
esac
LB_COMPRESSION="${LB_COMPRESSION:-none}"
# Setting zsync
LB_ZSYNC="${LB_ZSYNC:-true}"