diff options
| author | nl6720 <nl6720@gmail.com> | 2024-08-23 12:25:27 +0300 |
|---|---|---|
| committer | nl6720 <nl6720@gmail.com> | 2024-08-26 11:53:29 +0300 |
| commit | bf1c7ff0412df4a93eb6cca05d1f0b001602a236 (patch) | |
| tree | ca94f48eb898f1ccb0ca15f2880f46c00aec9e76 | |
| parent | 6cd79e65053105ba9fade0336de9a4081417eb1f (diff) | |
| download | archiso-bf1c7ff0412df4a93eb6cca05d1f0b001602a236.tar.gz archiso-bf1c7ff0412df4a93eb6cca05d1f0b001602a236.tar.bz2 | |
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.
| -rw-r--r-- | CHANGELOG.rst | 2 | ||||
| -rw-r--r-- | configs/baseline/profiledef.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 375a92e..6b8c52b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -12,6 +12,8 @@ Changed ------- - Use an empty UUID for the EROFS image file since the file system will never be referenced by it. +- Do not use ``mkfs.erofs`` extended options ``fragments`` and ``dedupe`` in the baseline profile. This reduces the EROFS + image size and compression time. Deprecated ---------- 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" |
