mksquashfs: switch from xz to zstd

This will result in faster boot times.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
This commit is contained in:
Dimitri John Ledkov 2023-08-22 11:51:47 +01:00
parent 13c3321bb8
commit 14858a63a5

View File

@ -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")
}