Enabling xz compression for squashfs by default.

This commit is contained in:
Daniel Baumann 2011-03-25 15:57:44 +01:00
parent ee8d589250
commit 87f788b31d
1 changed files with 13 additions and 0 deletions

View File

@ -299,6 +299,19 @@ case "${LB_CHROOT_FILESYSTEM}" in
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -no-progress"
case "${LB_DISTRIBUTION}" in
artax|squeeze)
if [ "${LB_BACKPORTS}" = "true" ]
then
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz"
fi
;;
*)
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz"
;;
esac
if [ "${_VERBOSE}" = "true" ]
then
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -info"