diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/lb_binary_rootfs | 13 |
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" |