diff options
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-x | make_slackware_live.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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"} |