feat(installer): show the real sub-steps of GRUB, initramfs, desktop and drivers

The progress screen only knew twelve coarse phases: "Installing GRUB" then
nothing until "Keyboard and language", and a bar stuck for minutes while
pacman pulled a whole desktop. Nobody could tell a slow mirror from a hang,
and a failure (no ESP, no initramfs) only existed in the log.

Every real action now publishes a line: kernel copy, mkinitcpio and its
result, each GRUB step (ESP found and mounted or missing, UEFI entry with
the VMD no-NVRAM note, EFI/BOOT fallback, BIOS MBR, menu generation,
first-boot check), desktop activation. For pacman, fws-install-step gains a
--pacman filter that reads the transaction output and turns it into
"download i/N — package", "install i/N — package", hooks, download size and
errors, moving the bar per package. fws-setup-hardware uses the same filter
when the kickstart hands it a FWS_PROGRESS range, and stays silent when run
from fws-drivers or a terminal.

The duplicated Wi-Fi profile copy left by the Main merge is folded into one.
This commit is contained in:
nocode committed 2026-11-03 21:07:18 +01:00
1 parent d720d56f8e
commit dadd46fe3c
5 files changed
+177 -30

No files matched your search

+11
View File
@@ -8,6 +8,17 @@ Changelog
Added
-----
- **L'écran de progression dit vraiment où en est l'installation.** Les douze jalons hérités de 0.7
(« Installation de GRUB », puis plus rien pendant des minutes) deviennent une cinquantaine de sous-étapes
réelles : copie du noyau, ``mkinitcpio`` (et son résultat, taille de l'image ou ÉCHEC nommé), puis pour GRUB
chaque action — partition EFI trouvée et montée (ou son absence), entrée UEFI « FWS » (avec la mention
« sans écriture NVRAM » sur Intel VMD), chemin de secours ``EFI/BOOT/BOOTX64.EFI``, MBR en BIOS, génération
du menu, vérification programmée au 1er démarrage. Pour le bureau et les pilotes, ``fws-install-step
--pacman`` lit la sortie de pacman et affiche « téléchargement 123/345 — plasma-desktop », « installation
200/345 — konsole », les hooks, la taille à télécharger et les erreurs, la barre avançant au fil des
paquets. ``fws-setup-hardware`` publie ses groupes détectés quand le kickstart lui passe ``FWS_PROGRESS``
(jamais depuis « Pilotes et matériel » ou un terminal). Un échec (réseau, ESP absente, initramfs manquant)
s'affiche désormais à l'écran au lieu de n'exister que dans le journal.
- **Intel RST / VMD : les disques cachés derrière le contrôleur Intel sont pris en charge.** Sur beaucoup
de portables récents, le BIOS est réglé sur « RST » (ou « Optane », ou « RAID ») : le SSD n'est plus
branché en direct, il est caché derrière un contrôleur Intel VMD. La réponse habituelle sur les forums