From b72523e38989ec45ae5001be66bfcb978f59692c Mon Sep 17 00:00:00 2001 From: nl6720 Date: Mon, 13 Jun 2022 16:40:29 +0300 Subject: 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. --- CHANGELOG.rst | 1 + configs/baseline/profiledef.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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" ) -- cgit v1.2.3-70-g09d2