Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2024-03-27 11:02:30 +0200
committernl6720 <nl6720@gmail.com>2024-03-30 23:27:55 +0200
commit4df73069248708d716cef4773ebb3f80dad66a4b (patch)
tree16856ef02e01aaf71ae63b9dab9f684a7ce3360f
parent3b3984b4843b194ad2353bbd761f75ec8ab1af95 (diff)
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.
-rw-r--r--CHANGELOG.rst2
-rw-r--r--configs/baseline/profiledef.sh1
-rw-r--r--configs/releng/profiledef.sh1
3 files changed, 3 insertions, 1 deletions
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"