summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_rootfs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-04-29 00:01:45 +0200
committerDaniel Baumann <daniel@debian.org>2011-04-29 00:01:45 +0200
commit65fef6b5289d42071565e9b9f86961aafcf29a41 (patch)
tree764cd4d29e78bfec845252a8eb4bb73661837be6 /scripts/build/lb_binary_rootfs
parentefc490377260699c8b31770bf4913c96d930e34e (diff)
downloadvyos-live-build-65fef6b5289d42071565e9b9f86961aafcf29a41.tar.gz
vyos-live-build-65fef6b5289d42071565e9b9f86961aafcf29a41.zip
Enabling xz compression by default for artax-backports.
Diffstat (limited to 'scripts/build/lb_binary_rootfs')
-rwxr-xr-xscripts/build/lb_binary_rootfs6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/lb_binary_rootfs b/scripts/build/lb_binary_rootfs
index f6c35fd7d..2e3e34e3f 100755
--- a/scripts/build/lb_binary_rootfs
+++ b/scripts/build/lb_binary_rootfs
@@ -315,6 +315,12 @@ case "${LB_CHROOT_FILESYSTEM}" in
esac
fi
+ case "${LB_DISTRIBUTION}" in
+ artax-backports)
+ MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz"
+ ;;
+ esac
+
case "${LB_BUILD_WITH_CHROOT}" in
true)
# Create image