Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2022-06-13 16:40:29 +0300
committernl6720 <nl6720@gmail.com>2022-06-18 08:47:25 +0300
commitb72523e38989ec45ae5001be66bfcb978f59692c (patch)
tree67aae2f3306d5502c86c0c516870a90eab9e688b
parent052987bfbb9de0a44367f9c28c7028cfc54c2c06 (diff)
configs/baseline/profiledef.sh: add `-E ztailpacking` to airootfs_image_tool_options for mkfs.erofs
As the man page says, it saves more space, although the feature is experimental.
-rw-r--r--CHANGELOG.rst1
-rw-r--r--configs/baseline/profiledef.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 1d6070a..c3029c4 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -10,6 +10,7 @@ Added
- Configure the locale for the baseline profile to ``C.UTF-8`` so that a UTF-8 locale is used.
- Add ``uefi-x64.grub.esp`` and ``uefi-x64.grub.eltorito`` boot mode to support x86_64 UEFI boot on x86_64 machines.
+- Use ``mkfs.erofs``'s ``ztailpacking`` option in the baseline profile to reduce the image size.
Changed
-------
diff --git a/configs/baseline/profiledef.sh b/configs/baseline/profiledef.sh
index 93002d4..4115581 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=('-zlz4hc,12')
+airootfs_image_tool_options=('-zlz4hc,12' -E ztailpacking)
file_permissions=(
["/etc/shadow"]="0:0:400"
)