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:
parent
84dcf4ed02
commit
81029d0e72
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue