diff -Nru live-build-3.0~a57/debian/changelog live-build-3.0~a57/debian/changelog --- live-build-3.0~a57/debian/changelog 2012-08-24 07:42:57.000000000 +0000 +++ live-build-3.0~a57/debian/changelog 2012-08-24 21:06:12.000000000 +0000 @@ -1,3 +1,9 @@ +live-build (3.0~a57-1ubuntu4) quantal; urgency=low + + * Don't turn on xz compression in mksquashfs for ubuntu builds. + + -- Adam Conrad Fri, 24 Aug 2012 15:05:30 -0600 + live-build (3.0~a57-1ubuntu3) quantal; urgency=low * Fix execution of binary hooks. diff -Nru live-build-3.0~a57/debian/patches/series live-build-3.0~a57/debian/patches/series --- live-build-3.0~a57/debian/patches/series 2012-08-24 07:41:38.000000000 +0000 +++ live-build-3.0~a57/debian/patches/series 2012-08-24 21:06:50.000000000 +0000 @@ -13,3 +13,4 @@ ubuntu-parent-mirror-binary-volatile.patch ubuntu-debootstrap-variants.patch ubuntu-fix-binary-hooks.patch +ubuntu-no-xz-squashfs.patch diff -Nru live-build-3.0~a57/debian/patches/ubuntu-no-xz-squashfs.patch live-build-3.0~a57/debian/patches/ubuntu-no-xz-squashfs.patch --- live-build-3.0~a57/debian/patches/ubuntu-no-xz-squashfs.patch 1970-01-01 00:00:00.000000000 +0000 +++ live-build-3.0~a57/debian/patches/ubuntu-no-xz-squashfs.patch 2012-08-24 21:07:40.000000000 +0000 @@ -0,0 +1,25 @@ +Description: Don't turn on xz compression in mksquashfs for ubuntu builds. +Author: Adam Conrad +Forwarded: no +Last-Update: 2012-08-24 + +--- live-build-3.0~a57.orig/scripts/build/lb_binary_rootfs ++++ live-build-3.0~a57/scripts/build/lb_binary_rootfs +@@ -363,8 +363,15 @@ case "${LB_CHROOT_FILESYSTEM}" in + ;; + + *) +- # FIXME: artax-backports too, once d-i has catched up +- MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz" ++ case "${LB_MODE}" in ++ ubuntu|kubuntu) ++ ++ ;; ++ *) ++ # FIXME: artax-backports too, once d-i has catched up ++ MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz" ++ ;; ++ esac + ;; + esac +