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.
This commit is contained in:
parent
6cd79e6505
commit
bf1c7ff041
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
----------
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue