KDE: log de la fase chroot en /var/log/arch-setup.log

tee de pacman/paru/chezmoi a un log dentro del sistema nuevo (persiste al
reinicio) para revisar fallos AUR después del primer arranque.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-30 19:59:15 +02:00
co-authored by Claude Opus 4.8
parent 1ee91d59c2
commit 37a88eeb2a
+3
View File
@@ -44,6 +44,9 @@ fi
# FASE 2 (dentro del chroot) # FASE 2 (dentro del chroot)
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
: "${INSTALL_USER:?falta INSTALL_USER}" : "${INSTALL_USER:?falta INSTALL_USER}"
# Log de toda la fase chroot (pacman/paru/chezmoi) dentro del sistema nuevo, así
# sobrevive al reinicio. archinstall ya tiene su propio log aparte.
exec > >(tee -a /var/log/arch-setup.log) 2>&1
source "$(dirname "${BASH_SOURCE[0]}")/../shared/packages-common.sh" source "$(dirname "${BASH_SOURCE[0]}")/../shared/packages-common.sh"
echo ">> Creando usuario $INSTALL_USER..." echo ">> Creando usuario $INSTALL_USER..."