[SCM] live-build branch, debian-next, updated. debian/3.0_a51-1-14-ge2841f2
Daniel Baumann
daniel at debian.org
Wed Jul 18 17:44:47 UTC 2012
The following commit has been merged in the debian-next branch:
commit e2841f2eac6dbb559b5105dd2280816102d3e27b
Author: Daniel Baumann <daniel at debian.org>
Date: Wed Jul 18 19:45:14 2012 +0200
Using xz to compress images on anything except squeeze, keeping gzip as default for squeeze.
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 33621da..eaaf822 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -941,7 +941,15 @@ Set_defaults ()
;;
*)
- LB_COMPRESSION="${LB_COMPRESSION:-gzip}"
+ case "${LB_DISTRIBUTION}" in
+ squeeze)
+ LB_COMPRESSION="${LB_COMPRESSION:-gzip}"
+ ;;
+
+ *)
+ LB_COMPRESSION="${LB_COMPRESSION:-xz}"
+ ;;
+ esac
;;
esac
--
live-build
More information about the debian-live-changes
mailing list