[SCM] live-build branch, debian, updated. debian/3.0_a51-1-31-gf271c83
Daniel Baumann
daniel at debian.org
Wed Jul 18 21:10:52 UTC 2012
The following commit has been merged in the debian branch:
commit 27f7d92862403d15f47b1d59b252ebdc073a574f
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