mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-12 03:11:40 +00:00
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:
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…
x
Reference in New Issue
Block a user