From bf1c7ff0412df4a93eb6cca05d1f0b001602a236 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Fri, 23 Aug 2024 12:25:27 +0300 Subject: configs/baseline/profiledef.sh: do not use mkfs.erofs extended options "fragments" and "dedupe" These options are not compatible with multi-threaded compression and actually increase the image file size. With this change, the baseline profile's EROFS image file size is reduced from 488 MiB to 398 MiB. On my system, the compression time is reduced from about 2m6.274s to 1m59.410s when using erofs-utils built without multi-threaded compression and to 0m27.883s when using erofs-utils built with multi-threaded compression. --- configs/baseline/profiledef.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/baseline/profiledef.sh b/configs/baseline/profiledef.sh index 618235a..d6fdbfb 100644 --- a/configs/baseline/profiledef.sh +++ b/configs/baseline/profiledef.sh @@ -14,7 +14,7 @@ bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' arch="x86_64" pacman_conf="pacman.conf" airootfs_image_type="erofs" -airootfs_image_tool_options=('-zlzma,109' -E 'ztailpacking,fragments,dedupe') +airootfs_image_tool_options=('-zlzma,109' -E 'ztailpacking') bootstrap_tarball_compression=(zstd -c -T0 --long -19) file_permissions=( ["/etc/shadow"]="0:0:400" -- cgit v1.2.3-70-g09d2