summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_binary_rootfs13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/build/lb_binary_rootfs b/scripts/build/lb_binary_rootfs
index 730535af7..6635bed7e 100755
--- a/scripts/build/lb_binary_rootfs
+++ b/scripts/build/lb_binary_rootfs
@@ -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"