From 14858a63a5541090b4ecb7c4b96dbe952b79b01a Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 22 Aug 2023 11:51:47 +0100 Subject: [PATCH] mksquashfs: switch from xz to zstd This will result in faster boot times. Signed-off-by: Dimitri John Ledkov --- live-build/functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/live-build/functions b/live-build/functions index dea971dc..347edd79 100644 --- a/live-build/functions +++ b/live-build/functions @@ -339,7 +339,8 @@ create_squashfs() { squashfs_file="$2" config_dir="$PWD/config" (cd $rootfs_dir && - mksquashfs . $squashfs_file -no-progress -xattrs -comp xz \ + mksquashfs . $squashfs_file -no-progress -xattrs -comp zstd \ + -Xcompression-level 19 \ -ef "$config_dir/squashfs-exclude-files") }