From 5b37bfe52524851051a32a37dec544f7bbe25ba2 Mon Sep 17 00:00:00 2001 From: nevaforget Date: Tue, 31 Mar 2026 11:17:36 +0200 Subject: [PATCH] Pin linux-zen kernel in archinstall config, add quiet boot param - Set kernels to linux-zen in user_configuration.json to skip interactive kernel selection during install - Add post-install step to append quiet to non-fallback systemd-boot entries for clean boot output --- config/user_configuration.json | 2 ++ scripts/post-install.sh | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/config/user_configuration.json b/config/user_configuration.json index 69472c8..8310309 100644 --- a/config/user_configuration.json +++ b/config/user_configuration.json @@ -8,6 +8,8 @@ "bootloader": "Systemd-boot", + "kernels": ["linux-zen"], + "hostname": "moonarch", "locale_config": { diff --git a/scripts/post-install.sh b/scripts/post-install.sh index f9b77ef..3116e34 100755 --- a/scripts/post-install.sh +++ b/scripts/post-install.sh @@ -154,6 +154,16 @@ sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw --force enable +# --- Boot parameters: add quiet to systemd-boot entries --- + +log "Configuring boot parameters..." +for entry in /boot/loader/entries/*.conf; do + if [[ -f "$entry" ]] && [[ "$(basename "$entry")" != *fallback* ]] && ! grep -q 'quiet' "$entry"; then + sudo sed -i '/^options/ s/$/ quiet/' "$entry" + log " + $(basename "$entry") — quiet added" + fi +done + # --- Docker-Gruppe --- if ! groups | grep -q docker; then