summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-07-21 17:48:17 +0200
committerDaniel Baumann <daniel@debian.org>2011-07-21 17:48:17 +0200
commitde6a97102917fa8d46ff54fd607f619b75974385 (patch)
treefcbabaf714c45580be5c66e3edf5a981202dca51 /functions/defaults.sh
parent8316bd2d9813cbc7b2b8288b6618eec2c2004028 (diff)
downloadvyos-live-build-de6a97102917fa8d46ff54fd607f619b75974385.tar.gz
vyos-live-build-de6a97102917fa8d46ff54fd607f619b75974385.zip
Setting default compression levels to -6 for gzip, bzip, lzip and lzma tarballs.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 7870b4f85..30cf6f087 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -73,18 +73,18 @@ Set_defaults ()
APT_OPTIONS="${APT_OPTIONS:---yes}"
APTITUDE_OPTIONS="${APTITUDE_OPTIONS:---assume-yes}"
- BZIP2_OPTIONS="${BZIP2_OPTIONS:---best}"
+ BZIP2_OPTIONS="${BZIP2_OPTIONS:--6}"
- GZIP_OPTIONS="${GZIP_OPTIONS:---best}"
+ GZIP_OPTIONS="${GZIP_OPTIONS:--6}"
if gzip --help | grep -qs "\-\-rsyncable"
then
GZIP_OPTIONS="$(echo ${GZIP_OPTIONS} | sed -e 's|--rsyncable||') --rsyncable"
fi
- LZIP_OPTIONS="${LZIP_OPTIONS:---best}"
+ LZIP_OPTIONS="${LZIP_OPTIONS:--6}"
- LZMA_OPTIONS="${LZMA_OPTIONS:---best}"
+ LZMA_OPTIONS="${LZMA_OPTIONS:--6}"
# Setting apt recommends
case "${LB_MODE}" in