From 4df73069248708d716cef4773ebb3f80dad66a4b Mon Sep 17 00:00:00 2001 From: nl6720 Date: Wed, 27 Mar 2024 11:02:30 +0200 Subject: [PATCH] configs/*/profiledef.sh: set bootstrap_tarball_compression * bootstrap will use .tar.zst with `zstd -c -T0 --long -19`, * releng will retain .tar.gz with `gzip -cn9` for now. This will later be changed as part of https://gitlab.archlinux.org/archlinux/archiso/-/issues/130. --- CHANGELOG.rst | 2 +- configs/baseline/profiledef.sh | 1 + configs/releng/profiledef.sh | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2f234fe..ceff6d1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,7 +10,7 @@ Added - Add a man page for ``mkarchiso``. - Implement configurable bootstrap tarball compression. It is configured in ``profiledef.sh`` using a bash array called - ``bootstrap_tarball_compression``. + ``bootstrap_tarball_compression``. baseline tarball now uses zstd compression while releng remains with gzip for now. Changed ------- diff --git a/configs/baseline/profiledef.sh b/configs/baseline/profiledef.sh index 913ff8a..618235a 100644 --- a/configs/baseline/profiledef.sh +++ b/configs/baseline/profiledef.sh @@ -15,6 +15,7 @@ arch="x86_64" pacman_conf="pacman.conf" airootfs_image_type="erofs" airootfs_image_tool_options=('-zlzma,109' -E 'ztailpacking,fragments,dedupe') +bootstrap_tarball_compression=(zstd -c -T0 --long -19) file_permissions=( ["/etc/shadow"]="0:0:400" ) diff --git a/configs/releng/profiledef.sh b/configs/releng/profiledef.sh index 12d70c6..4603210 100644 --- a/configs/releng/profiledef.sh +++ b/configs/releng/profiledef.sh @@ -15,6 +15,7 @@ arch="x86_64" pacman_conf="pacman.conf" airootfs_image_type="squashfs" airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M') +bootstrap_tarball_compression=(gzip -cn9) file_permissions=( ["/etc/shadow"]="0:0:400" ["/root"]="0:0:750"