Don't turn on xz compression in mksquashfs for ubuntu builds according to Adam Conrad <adconrad@ubuntu.com>.

This commit is contained in:
Daniel Baumann 2012-09-30 09:33:06 +02:00
parent 01b64bf2b9
commit 2046ad7fdd
1 changed files with 5 additions and 10 deletions

View File

@ -357,16 +357,11 @@ case "${LB_CHROOT_FILESYSTEM}" in
esac
fi
case "${LB_PARENT_DISTRIBUTION}" in
squeeze)
;;
*)
# FIXME: artax-backports too, once d-i has catched up
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz"
;;
esac
if [ "${LB_PARENT_DISTRIBUTION}" != "squeeze" ] && \
[ "${LB_MODE}" != "ubuntu" ]
then
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz"
fi
case "${LB_BUILD_WITH_CHROOT}" in
true)