31 lines
833 B
Diff
31 lines
833 B
Diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
|
Date: Tue, 18 Jul 2017 17:21:08 +0800
|
|
Subject: ubuntu-no-xz-squashfs
|
|
|
|
---
|
|
scripts/build/lb_binary_rootfs | 11 +++++++++--
|
|
1 file changed, 9 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/scripts/build/lb_binary_rootfs b/scripts/build/lb_binary_rootfs
|
|
index 69e375b..e5ad70c 100755
|
|
--- a/scripts/build/lb_binary_rootfs
|
|
+++ b/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
|
|
|