fix(installer): step-by-step wizard, Intel RST/VMD support, bug reports and a bootable EFI partition #17
Merged
BlackAngelTV
merged 54 commits from 2026-11-03 20:33:24 +01:00
fix/installer-wizard into Main
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
OS
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Milestone
No items
No Milestone
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: FWS/FWS-ISO#17
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Both the kickstart %post and fws-grub-finalize looked for the ESP with lsblk -nro PATH,PARTTYPENAME,FSTYPE | awk '$2=="EFI System" && $3=="vfat"' but "lsblk -r" separates columns with SPACES and an ESP's label is literally "EFI System" -- with a space. awk therefore sees $2="EFI" and $3="System", so the condition can never be true and no ESP was ever found. The consequences chain: /boot/efi never mounted, install_grub returns 1, grub-install and grub-mkconfig skipped, /boot/grub missing, and the step 4ter grub-mkconfig fails in turn (visible in the 2026-09-06 install journal as "+ grub-mkconfig" followed by "+ true"). This is why GRUB had to be repaired by hand in a TTY after bare-metal installs -- the first-boot safety net carried the same bug. Detection now reads PARTTYPE (a type CODE: GUID on GPT, 0xef on MBR, never a space) and queries each vfat partition separately, so an empty column cannot shift the fields either. Also in this commit: - /boot/grub is created before any grub-mkconfig, so the menu is generated even when grub-install failed. - The step 4ter grub-mkconfig no longer swallows its stderr; a failure now lands in /var/log/fws-post.log instead of /dev/null. - clearpart no longer forces --disklabel=msdos: the table type is left to Anaconda/blivet, which picks it from the firmware (BIOS -> msdos, UEFI -> gpt). Forcing MBR under UEFI is out of spec and makes dual-boot beside a GPT Windows impossible. - The resolv.conf copy to the target removes the destination first and copies the CONTENT, since /etc/resolv.conf is now a symlink on both sides. Signed-off-by: nocode <suzuku295@gmail.com>Vendored tarball replaced, 1.2.1 dropped. Upstream gains a third package source, the AUR, plus an operation history, a readable log and an update check against the Gitea repository. Plugins are now collected instead of listed. CMake's POST_BUILD rule drops every MODULE library it builds into build/plugins/, and PluginManager simply scans *.so there, so a fixed path meant editing this PKGBUILD for each new upstream provider. The AUR one arriving in 1.4 was exactly that. The version file is installed next to the binary. UpdateManager::currentVersion reads it and keeps the higher of that value and the one compiled in; upstream installs it too. Leaving it out is harmless while the two agree, but they would drift at the next bump. pkgver follows the source's own version file, not the name of the delivery folder, which said 1.4.2. CMake compiles that value into the binary and UpdateManager compares it to the Gitea releases: a pkgver above the version file would offer an already installed release for ever. Qt6 Network is now required alongside Widgets; qt6-base covers both, so depends is unchanged. yay and paru join optdepends since AurManager looks for one of them and reports the source unavailable otherwise. FWS ships neither yet, so that source will show as unavailable until one is added. The FWS desktop entry is kept over the one upstream now generates. Upstream's points at ${prefix}/bin/PacManager, a path this package does not have because it keeps the binary in /usr/lib/fws-pacmanage/ next to its plugins, and its icon is a 24px interface glyph with a hardcoded light stroke, invisible in a menu on a light theme. Both plugin sources compile; the full build needs Qt6, absent here. Signed-off-by: nocode <suzuku295@gmail.com>An idle WSL had a stale keyring ("unknown trust" on every package), and "pacman -Sy <pkg>" broke on the gcc-libs split into libgcc and libstdc++.y a trop de bug la dedans ca build pas il faut verifier avant et rebase depuis la main
On a blank UEFI disk the installed system only booted with the USB key plugged in (HP OMEN MAX 16, see OMEN-demarrage-sans-cle-usb.md): Anaconda had created /boot and the LVM PV but no EFI system partition. The kickstart disables Anaconda's bootloader because Arch has no grub2-* binaries and GRUB is installed by the %post. Anaconda then sets skip_bootloader, and schedule_partitions() drops the "efi" request of the automatic partitioning ("skipping unneeded stage1 efi request"). The anaconda PKGBUILD now patches that condition so the ESP is still created when no stage1 partition exists yet. The first-boot log of that machine also showed fws-grub-finalize writing GRUB to /dev/sda2, the Ventoy key's EFI partition, because it took the first ESP of the system. The kickstart and fws-grub-finalize now look on the disk carrying / first, then on internal disks only, and log a CRITICAL line instead of borrowing a removable device's ESP.WIP: Fix/installer wizardto fix(installer): step-by-step wizard, Intel RST/VMD support, bug reports and a bootable EFI partitionPourquoi
Cette branche regroupe le travail de fiabilisation de l'installateur pour la pré-version 0.8.1, remise à jour sur
Main(PacManager 1.6.2, suppression de WinBoat, étapes de progression, Vulkan par GPU, police emoji) sans perdre ce qui lui est propre.Contenu
Installateur
hidden_spokes.Intel RST / VMD (
fws-intel-rst)vmdchargé dès le%pre, avant l'inventaire des disques ;vmd+nvmeécrits dans l'initramfs de la cible ;mdadm_udevsi volume RAID Intel.--no-nvramdans le%postetfws-grub-finalize) : seul le cheminEFI/BOOT/BOOTX64.EFIest fiable.GRUB / démarrage (démarrage impossible sans la clé USB, cf.
OMEN-demarrage-sans-cle-usb.md)bootloader --disabledfait sauter la requêteefidu partitionnement auto d'Anaconda (skip_bootloader). Le paquetanacondaest patché (pkgrel 6) — à reconstruire avec./setup-aur.sh.%postetfws-grub-finalizene prennent plus « la première ESP du système » (c'était celle de la clé Ventoy sur l'OMEN) : disque de/d'abord, puis disques internes uniquement, message CRITIQUE sinon.PARTTYPE(le filtrePARTTYPENAME == "EFI System"ne matchait jamais),/boot/grubcréé avantgrub-mkconfig, shimgrub2-mkconfigpour l'étape BLS d'Anaconda.pacman; NetworkManager activé etsystemd-networkdneutralisé sur la cible ; chaîne de secours pour copier le noyau.Matériel (
fws-setup-hardware,fws-drivers)--plan,--groups,--check,--unattended) et fenêtre « Pilotes et matériel » au premier démarrage ; codecs, jeux et VR seulement sur un clic.libva-nvidia-driver, pilotes 32 bits ; son sur i3/Hyprland/XFCE (systemctl --global) ; Wi-Fi Broadcomwlembarqué, installé seulement si la puce est muette ; imprimantes ;podmandans l'image.Signalement de bugs (
fws-bugreport)https://fws.laxacube.ch, proposé depuis l'écran de debug de l'installateur, journal filtré du bruit Anaconda/ntfs3.Build
setup-aur.sh: seconde chance de clonage AUR, repli surlocal-repo,broadcom-wl-dkmsconstruit mais non installé sur l'hôte ;build.sh: garde-fou sur les paquets locaux, symlinks systemd réparés, miroirs rsync retirés ; LTO désactivée pour anaconda (GCC 16).Docs : CHANGELOG 0.7.0 / 0.8.1 séparés, note de pré-release 0.8.1, SECURITY, README et textes de marque.
Points de vigilance pour la revue
Main(1.6.2 dans l'image,/opt/fws-pacmanage) a été retenue, les mécanismes d'embarquement debuild.shet du kickstart ont été retirés, les raccourcis i3/Hyprland lancentPacManager.5ac30b26e5tobee666537e