From 08da7380396347e5fb0e83c4e2eb8c9c0b0b1b17 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 10 May 2018 16:14:43 +0200 Subject: XFCE: try to increase compression rate a bit --- make_slackware_live.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'make_slackware_live.sh') diff --git a/make_slackware_live.sh b/make_slackware_live.sh index fd185c2..d38e21a 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -231,6 +231,15 @@ COMPR=${COMPR:-"xz --check=crc32"} # Default is xz, alternatives are gzip, lzma, lzo: SXZ_COMP=${SXZ_COMP:-"xz"} +# What compression parameters to use? +# For our lean XFCE image we try to achieve max compression, +# at the expense of runtime latency: +if [ "$LIVEDE" = "XFCE" ] ; then + SXZ_COMP_PARAMS=${SXZ_COMP_PARAMS:-"-b 1M"} +else + SXZ_COMP_PARAMS=${SXZ_COMP_PARAMS:-"-b 512k -Xdict-size 100%"} +fi + # Mount point where Live filesystem is assembled (no storage requirements): LIVE_ROOTDIR=${LIVE_ROOTDIR:-"/mnt/slackwarelive"} -- cgit v1.2.3