mksquashfs: switch from xz to zstd

This will result in faster boot times.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
xnox/mksquashfs-zstd
Dimitri John Ledkov 1 year ago
parent 13c3321bb8
commit 14858a63a5

@ -339,7 +339,8 @@ create_squashfs() {
squashfs_file="$2" squashfs_file="$2"
config_dir="$PWD/config" config_dir="$PWD/config"
(cd $rootfs_dir && (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") -ef "$config_dir/squashfs-exclude-files")
} }

Loading…
Cancel
Save