File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,17 @@ bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
1414arch=" x86_64"
1515pacman_conf=" pacman.conf"
1616airootfs_image_type=" squashfs"
17- # Use better compression options correctly formatted for mksquashfs
17+
18+ # Use better compression options correctly formatted for mksquashfs with XZ
19+ # XZ compressor supports these options: -Xbcj and -Xdict-size
1820if [ " $( nproc) " -gt 2 ]; then
19- # For multi-core systems: use XZ with bcj x86 filter and multi-threaded compression
20- airootfs_image_tool_options=(' -comp' ' xz' ' -Xbcj' ' x86' ' -b' ' 1M' ' -Xdict-size' ' 1M' ' -Xcompression-level' ' 9' )
21- else
22- # For single/dual-core systems: use faster but less effective compression
21+ # For multi-core systems: use XZ with bcj x86 filter for better compression
2322 airootfs_image_tool_options=(' -comp' ' xz' ' -Xbcj' ' x86' ' -b' ' 1M' ' -Xdict-size' ' 1M' )
23+ else
24+ # For single/dual-core systems: use the same options but may be slower
25+ airootfs_image_tool_options=(' -comp' ' xz' ' -Xbcj' ' x86' ' -b' ' 1M' ' -Xdict-size' ' 75%' )
2426fi
27+
2528bootstrap_tarball_compression=(' zstd' ' -c' ' -T0' ' --auto-threads=logical' ' --long' ' -19' )
2629file_permissions=(
2730 [" /etc/shadow" ]=" 0:0:400"
You can’t perform that action at this time.
0 commit comments