From ec4ca8a22bfeba226ff5d7faeebf67250f3a957f Mon Sep 17 00:00:00 2001 From: Natalie Spiva Date: Sat, 20 Jun 2026 05:35:13 -0700 Subject: [PATCH] feat: optimize compression settings (#3) - Switch squashfs from xz to zstd (compression level 19) - zstd provides multi-threaded compression for faster builds - zstd offers better speed/ratio tradeoff vs single-threaded xz - Bootstrap tarball already optimized with zstd -T0 --auto-threads=logical Closes #3 --- profiledef.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiledef.sh b/profiledef.sh index ccd37ae..ab2fc58 100644 --- a/profiledef.sh +++ b/profiledef.sh @@ -12,7 +12,7 @@ bootmodes=('bios.syslinux' 'uefi.grub') arch="x86_64" pacman_conf="pacman.conf" airootfs_image_type="squashfs" -airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M') +airootfs_image_tool_options=('-comp' 'zstd' '-Xcompression-level' '19' '-b' '1M') bootstrap_tarball_compression=('zstd' '-c' '-T0' '--auto-threads=logical' '--long' '-19') file_permissions=( ["/etc/shadow"]="0:0:400"