[SCM] live-build branch, debian-next, updated. debian/3.0_a14-1-1-g87f788b

Daniel Baumann daniel at debian.org
Fri Mar 25 14:57:58 UTC 2011


The following commit has been merged in the debian-next branch:
commit 87f788b31df0b6f143c8ac729a3518d1b7f5d19c
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Mar 25 15:57:44 2011 +0100

    Enabling xz compression for squashfs by default.

diff --git a/scripts/build/lb_binary_rootfs b/scripts/build/lb_binary_rootfs
index 730535a..6635bed 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"

-- 
live-build



More information about the debian-live-changes mailing list