feat(installer): show the installation log live from the progress screen

The progress screen says what phase is running, but when the bar stops
the user cannot tell a slow mirror from a crash without switching to a
console. A "Afficher le journal" toggle under the bar now reveals a live
tail of the FWS logs: the %pre and %post --nochroot logs on the live, and
the chrooted %post log on the target, which is where the CRITIQUE lines
about the EFI partition and the initramfs are written.

The upstream spoke is overlaid like the runtime module already is, since
an airootfs file on a package path breaks the pacstrap.
This commit is contained in:
nocode committed 2026-11-18 08:17:13 +01:00
1 parent 69c165e95c
commit d201402072
2 files changed
+294 -2

No files matched your search

@@ -14,7 +14,7 @@ set -euo pipefail
# ~3 Mo générés, vs 222 Mo pour le paquet glibc-locales complet.
locale-gen
# --- Overlays pyanaconda (écran de progression FWS) ---------------------------
# --- Overlays pyanaconda (écran de progression FWS, journal en direct) ---------------------------
# mkarchiso copie l'airootfs AVANT le pacstrap (cf. fws/mkarchiso :
# _make_custom_airootfs puis _make_packages) : un fichier de l'airootfs qui
# remplace un fichier du paquet « anaconda » fait échouer pacman (« exists in
@@ -28,7 +28,8 @@ if [ -d /usr/local/share/fws/anaconda-overlay/pyanaconda ]; then
# Le build doit s'arrêter net si l'overlay n'a pas atterri : sans lui, plus
# d'écran de progression détaillé (mais l'installateur fonctionne quand même).
for _f in modules/runtime/scripts/runtime.py modules/boss/installation.py; do
for _f in modules/runtime/scripts/runtime.py modules/boss/installation.py \
ui/gui/spokes/installation_progress.py; do
if [ ! -f "/usr/lib/python3.14/site-packages/pyanaconda/${_f}" ]; then
echo "[FWS] overlay pyanaconda manquant : ${_f}" >&2
exit 1