lenovo-21bx: use zstd for initramfs compression

zstd is faster to decompress than gzip and will soon
become the default compression algorithm for the initfs,
so might as well take advantage of it early.

The default compression is used because it results in
practically the same binary size as gzip (both create
initramfs binaries that are 30M and zstd:fast adds
a megabyte, which should be avoided). This change is
mostly for the decompression speed benefits.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9191>
This commit is contained in:
Aster Boese
2026-08-16 05:32:14 +00:00
parent fc782ff8d2
commit 61a654a10e
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
maintainer="Clayton Craft <clayton@craftyguy.net>"
pkgname=device-lenovo-21bx
pkgdesc="Lenovo ThinkPad X13s"
pkgver=23
pkgver=24
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -103,7 +103,7 @@ kernel_mainline() {
}
sha512sums="
7a685de71e512b5b2bf21448fb8fc1055bb33c72149acd57e1754c212c40218a2b93ab603d3262c2c37ace051c5872b2fcaeb5379a5beaac680b7a2a0f115a1e deviceinfo
203858d7a538f28aa3d1097334184f63845d8bba3d3d874f5d0bf6b5379be5b4024b56dc9fc6cd7fbe75d2f140efe2bc0002536520e7dd927ef2a1c7e3f1a069 deviceinfo
eabb3e9c6946bb065244f129f1a432842b09b0f2a9a4b41289c3c289f52076c63d51205dd7ccaa1a7621dd8eb0e4b1a3df27f9dc6b55445fbd738be13c2031bb firmware.files
45d56b8d6157dd7d679d0d4af4866973e6e0365c276fa56c008cbc8373f64626c881b6097ad1b9fa9c0d5b769e61b5a81466d6a773e2848c9ee89f06c0302249 modules-initfs
52bbb9564ec713db5d46937701b121afe0c6c644fffe189a05766f491b4997b1bbc4c1f90229efb5764d795df8d40a57d4c840ee4b32d426e7a84520364b8bf5 pipewire.conf
@@ -17,3 +17,4 @@ deviceinfo_external_storage="true"
# Bootloader related
deviceinfo_boot_filesystem="fat32"
deviceinfo_initfs_compression="zstd"