summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-10-04 20:13:25 +0200
committerDaniel Baumann <daniel@debian.org>2012-10-04 20:13:28 +0200
commit81029d0e72ef09aefaa76b1342e5fb13536ddccc (patch)
tree12ad62e91c5f6ea9b2aa803ddacfc26af45cc8e1 /functions
parent84dcf4ed028ddfe27e291efeb35f49064314473a (diff)
downloadvyos-live-build-81029d0e72ef09aefaa76b1342e5fb13536ddccc.tar.gz
vyos-live-build-81029d0e72ef09aefaa76b1342e5fb13536ddccc.zip
Setting default compression to none.
Normally, when using compressed file systems (squashfs), there is no point in further compressing the tarballs and images.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh18
1 files changed, 1 insertions, 17 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 1860618cc..cd3b76666 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -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}"