PacManager (FWS-PacManage 1.2.1) is packaged like fws-dnd: a local PKGBUILD
with the sources vendored in the repository, because the upstream Gitea is
private and makepkg cannot fetch from it during the build.
It is deliberately absent from packages.x86_64. On a live system one is about
to replace, a package manager serves no purpose, and it would drag qt6-base
into the squashfs for nothing. build.sh drops the built package into the image
instead, and the kickstart %post installs it into the target, then deletes the
file. Two conditions there: only when a desktop was chosen (it is a GUI
application, nothing could launch it on a command-line install), and never
blocking -- "pacman -U" resolves qt6-base over the network, and no PacManager
is not a failed installation.
The binary goes to /usr/lib/fws-pacmanage rather than /usr/bin: PluginManager
looks for its plugins in applicationDirPath()/plugins, so /usr/bin would mean a
/usr/bin/plugins directory polluting a PATH entry. Binary and plugins stay
together in a private directory and /usr/bin/fws-pacmanage is a symlink -- Qt
resolves /proc/self/exe, so the plugins are still found. Upstream ships no
.desktop file, so one is provided here.
build.sh also gains a guard: it now checks, before any lengthy step, that every
package only local-repo can provide is actually built. Until now a missing one
surfaced as a bare "target not found" from pacman, after the mirror refresh,
the full upgrade and the whole mkarchiso setup -- several minutes for an error
detectable in one second.
Signed-off-by: nocode <suzuku295@gmail.com>
podman was never in packages.x86_64: only fws-setup-hardware installed it,
after the fact, so it was there only when the network held during
installation. It is not pulled in as a dependency either -- winboat-bin's
.PKGINFO declares "optdepend = podman-compose", nothing more -- so a machine
installed offline ended up with no container runtime and no way to run the
Windows applications winboat-bin exists for.
Signed-off-by: nocode <suzuku295@gmail.com>
The ISO boot menu still announced "Arch Linux"; the entry is renamed and its id
becomes fwslinux, with a slightly longer timeout on the main menu.
locale.gen also gains fr_CH.UTF-8. It is ADDED next to en_US.UTF-8, not
substituted for it: Anaconda's DBus modules call
setlocale(LC_ALL, "en_US.UTF-8") on startup, so dropping that locale makes the
Boss module exit with status 1 and the installer never comes up -- which the
comment at the top of the file already documented.
Signed-off-by: nocode <suzuku295@gmail.com>
Conflict resolution, file by file:
- interactive-defaults.ks: their %pre partitioning wins. It targets the largest
NON-REMOVABLE disk instead of "clearpart --all" (which wiped every disk,
including the user's Windows) and picks the disk label from the firmware
(UEFI -> gpt, BIOS -> msdos) instead of forcing MBR everywhere. That
supersedes my "let blivet decide" change. My GRUB fixes merged cleanly on top
and are still needed: their branch still carried the broken ESP detection
(awk on PARTTYPENAME, where "EFI System" contains a space and never matches),
in the kickstart and twice in fws-grub-finalize, which they do not touch.
- build.sh: theirs for the rsync:// mirrorlist purge, the fws-bugreport syntax
check and the systemd-networkd masking (networkd and NetworkManager were
fighting over the same interfaces on the live). Their systemd-only symlink
repair loop is dropped as redundant: the general restoration also covers
/etc/resolv.conf and the gpt-auto-generator mask, which their loop missed.
- fws-bugreport replaces my fws-report-bug, which is deleted: theirs is the
fuller tool (GTK form with a console fallback, exact JSON payload shown
before sending, journal filtering, .desktop launcher). .xinitrc keeps my
in-window buttons -- "Envoyer le rapport" and "Redémarrer" on the log window
itself, retryable without losing the report -- but they now call
fws-bugreport.
- profiledef.sh: their permission entry, mine removed with the tool.
- CHANGELOG.rst: both sets of entries. Two of mine were rewritten because the
merge made them false (my reporting tool no longer exists, and my partition
table change is superseded).
Untouched by their branch, so kept as is: the step-by-step wizard, the
next/back navigation and its transitions, the default desktop.
Signed-off-by: nocode <suzuku295@gmail.com>
When an installation fails the machine does not reboot: it stays on the log
window. Until now the user had a complete report in front of them and no way to
get it to us -- no browser, no mail client in a live session.
The log window now carries two buttons, "Envoyer le rapport aux développeurs"
and "Redémarrer". Sending does not close the window, so it can be retried after
plugging in a network cable, which is the usual reason an install failed in the
first place.
fws-report-bug POSTs to https://fws.laxacube.ch/api/bugs.php. It is written in
python3 with urllib -- no added dependency, and json.dumps escapes raw logs
containing quotes, backslashes and accents, which a shell-built JSON breaks on
at the first line. It attaches the logs (last 200000 characters: the error is
always at the end) and the detected hardware (CPU/GPU model, RAM, UEFI or BIOS,
disks, virtualisation). It never sends the user name or the host name, and the
e-mail only when one is given. Nothing is sent without an explicit click.
profiledef.sh also gains the 0755 permission entry for the new helper, since
repository files are versioned 0644.
Signed-off-by: nocode <suzuku295@gmail.com>
Anaconda is a hub & spoke installer: a MENU where the user picks which screen
to enter, in any order. That assumes you already know what you are doing --
the opposite of what FWS is for. The Summary hub no longer shows its grid of
tiles; it chains its screens one by one, like the Windows installer:
Language -> Internet -> Date & time -> Destination -> Desktop -> User
-> Root password -> Summary -> Installation
Consequences addressed here:
- The desktop default was "command line only", on a screen that was neither
mandatory nor visited by most users: the installation SUCCEEDED but left a
console-only system -- a black screen on reboot, experienced as "the OS does
not install". The screen is now part of the flow and defaults to KDE Plasma.
- Navigation was inconsistent: hub screens carried a single "Done" button in
the TOP LEFT while standalone screens have their buttons at the bottom right.
That button is moved into a bottom-right bar identical to the standalone one,
renamed "Suivant", and joined by a "Précédent" button.
- Going back works from the last screen all the way to the first, including out
of the hub, so a wrong language -- hence a wrong keyboard layout -- is no
longer final. Leaving the hub and coming back would normally rebuild a fresh
hub and lose every entry, so the hub instance is cached and reused.
- Going back applies nothing: the Destination screen's apply() reconfigures
partitioning.
- Screens now slide horizontally, right to left going forward.
- The keyboard chosen on the first screen is applied to the running X server
with setxkbmap. Anaconda 45 only pushes it to systemd-localed, which expects
a compositor to listen -- there is none under the live session's Openbox/Xorg,
so the whole installer stayed in QWERTY US and Wi-Fi and account passwords
were typed blind.
The redundant screens (second keyboard choice, Anaconda's own network screen,
language support) are removed through Anaconda's supported "hidden_spokes"
option rather than by patching it.
Everything is behind try/except: should any of it fail, the classic hub comes
back and the installation stays possible.
Signed-off-by: nocode <suzuku295@gmail.com>
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>
Seventeen files that must be symlinks were checked out as plain text files
containing their target (Git for Windows creates no symlinks by default), and
have been stored that way since the repository migration. Three of them break
the installer:
- /etc/resolv.conf holds the literal string
"/run/systemd/resolve/stub-resolv.conf", so the glibc resolver finds no
nameserver at all: no DNS in the live session, and "pacman -S <desktop>"
fails in the middle of %post.
- etc/systemd/system-generators/systemd-gpt-auto-generator -> /dev/null is a
MASK. As a regular file the mask is void and systemd auto-mounts the target
disk's GPT partitions during installation.
- The dbus-org.freedesktop.* aliases and the *.target.wants/* links become
invalid units.
build.sh now rebuilds them in the build tree, so the result no longer depends
on which OS the repository was cloned on. systemd-resolved and fws-rootfsbase
are enabled alongside NetworkManager (they carry an [Install] section but no
activation link survived the migration), and NetworkManager delegates DNS to
resolved -- the same setup the %post applies to the installed system.
Signed-off-by: nocode <suzuku295@gmail.com>
- Reflector peut écrire des miroirs rsync:// que pacman ne sait pas utiliser :
retirés avant le premier -Sy (build mort, vu en réel).
- Vérification de la syntaxe de fws-bugreport (py_compile) avant chaque build.
- Checkout Windows → symlinks systemd matérialisés en fichiers plats (contenu
= chemin cible) : détectés et remplacés par de vrais symlinks (plus de
« Failed to preset all unit » / « not a symlink, ignoring » au boot live).
- systemd-networkd (service + socket) masqué sur le live : NetworkManager est
le pilote FWS, fini la bagarre sysctl ipv6 entre les deux.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
- %pre : partitionnement selon la machine — cible = plus grand disque non
amovible (fini le clearpart --all qui rayait les autres disques), GPT en
UEFI / MBR en BIOS.
- airootfs : /etc/selinux/config et /etc/sysconfig/anaconda livrés — deux
tâches d'Anaconda échouaient sur la cible (FileNotFoundError stoppant la
file d'installation sur vrai matériel).
- Noyau : archiso exclut vmlinuz-linux du squashfs → chaîne de secours de
copie (bootmnt → /run/archiso → source installateur → volumes étiquetés) +
rattrapage pacman -S linux dans le %post chrooté, tout tracé dans
fws-post.log.
- mkinitcpio : le preset Arch standard est écrit AVANT tout pacman — la purge
de mkinitcpio-archiso déclenche le hook 90-mkinitcpio-install.hook
(mkinitcpio -P) ; l'ancien ordre le faisait tourner avec le preset archiso
et archiso.conf déjà supprimé (« Invalid option -c … must be readable »,
reproduit en chroot). Vérification finale : initramfs absent ⇒ CRITIQUE.
- Système installé : NetworkManager activé, systemd-networkd neutralisé,
reliques live purgées.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
fws-bugreport (GTK + repli console) envoie un rapport au créateur de l'OS
via curl vers https://fws.laxacube.ch/api/bugs.php, jamais automatiquement :
l'utilisateur voit le payload JSON exact et confirme l'envoi. Infos système +
extrait du journal (filtré du bruit Anaconda, dédupliqué, plafonné par source)
joignables au rapport ; trace de chaque envoi dans /tmp/fws-bugreport.log et
vérification du code HTTP / réponse JSON (plus de faux « envoyé ✔ »). Intégré
au menu d'applications, proposé sur l'écran de debug de l'installateur
(fws-bugreport --file /tmp/fws-debug.txt), permissions dans les deux profils,
règles de fenêtres flottantes i3/Hyprland, utilisateur ajouté à
systemd-journal à l'installation.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
setup-aur.sh, build.sh and build-offi.sh now fall back to an archlinux
Docker container (repo mounted on /fws, shared pacman cache) instead of
erroring on Windows hosts without an Arch WSL distro. Also install sudo
in the container so makepkg -s can resolve makedepends as the non-root
fwsbuild user (the cause of the recurring anaconda build failure).
0.7.0 ships the post-language network picker, the bare-metal dualboot
GRUB hardening and the self-healing setup-aur. The single os-release
overlay feeds the live /etc/os-release, the installer header and the
installed system's branding.
An interrupted pacman -Syu leaves unowned files on disk; every later
install then fails with "exists in filesystem" and the whole AUR build
cascades into cryptic errors. A failed -Syu is now retried with
--overwrite, and all pacman -U installs go through a new pacman_ur()
helper that removes only files owned by no package and retries (up to
8 times) instead of dying on stale leftovers.
Three gaps left real machines booting straight into Windows after a
successful install (menu empty, no GRUB entry, no NVRAM record):
- os-prober was disabled (Arch default GRUB_DISABLE_OS_PROBER=true),
so Windows never appeared in the generated menu; the airootfs
overlay /etc/default/grub now ships GRUB_DISABLE_OS_PROBER=false.
- The %post chroot often had no ESP mounted and no efivars access, so
grub-install silently did nothing on real hardware; it now finds and
mounts an EFI FAT32 partition (including another OS's ESP, e.g.
Windows) before installing.
- No safety net remained if the first attempt failed; the kickstart
enables a new fws-grub-finalize.service that, on the installed
system's first boot, re-installs GRUB with the --removable fallback
(EFI/BOOT/BOOTX64.EFI) plus an NVRAM entry and regenerates the menu
with os-prober active - automating the manual TTY repair.
Replace the complex anaconda NetworkStandaloneSpoke with a minimal
post-language "Connexion à Internet" screen: one list of detected
Wi-Fi networks plus Ethernet, click a network, enter the password,
done. Hostname typed there is kept (written to /tmp/fws-hostname and
prefilled into the User spoke via the anaconda PKGBUILD patch), and
the chosen Wi-Fi profile is copied to the installed system so it
works at first boot without re-entering the password.
.freebuff holds local app state and was committed by accident in PR #4;
remove it from the tree and ignore the directory going forward.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Add preflight package resolution step in build-offi.sh to validate all profile
packages against pacman repositories before mkarchiso execution. This prevents
'target not found' errors during ISO creation by catching missing packages early
with helpful error messages and recovery instructions.
Introduce fws-dnd package (D&D 5e manager for FWS with GTK4 interface) to the
local package build process in setup-aur.sh. Include PKGBUILD definition and
source tarball.
When package resolution fails, the build now exits with clear feedback pointing
users to run setup-aur.sh to build missing dependencies like fws-dnd.
Add entries for:
- Machine name selection at installation
- Interactive build script with versioning and naming
- systemd-timesyncd explicit activation
- Keyboard layout derivation from full locale
- DNS in build container configuration
Add explicit activation of systemd-timesyncd service to ensure proper clock synchronization on installed systems. This prevents clock drift issues that can affect TLS and pacman operations, and meets user expectations for accurate system time.
The service is already present in the image but inherited symlinks from the live environment may be ordinary files that systemd ignores, so explicit enablement ensures correct behavior on all installations.
Convert three systemd service configuration files from regular files to symlinks pointing to their respective system libraries. This ensures that the services reference the actual systemd unit files from /usr/lib/systemd/system rather than maintaining duplicate copies.
Update changelog with version 0.6.0 release notes dated 2026-07-07.
Documents major additions including:
- Anaconda installer 45 ported to Arch with Live OS payload
- FWS tooling suite (fws-hello, fws-update, fws-keys, etc.)
- System recovery functionality (fws-recovery-gui and engine)
- zram swap support and firewalld enablement
- Hyprland and i3 desktop parity
Includes changelog entries for changed items (FWS branding, boot entries, compression), fixed issues (splash watchdog, low RAM handling, profile synchronization), and removed items (syslinux config).
Document the native Arch Linux build environment that has been the reference since July 2026. This section explains that build.sh and setup-aur.sh now detect and execute directly on Arch Linux, replacing the previous Windows 11 + WSL setup as the primary reference.
The Windows + WSL path remains functional with automatic fallback from Git Bash but is no longer the reference environment.
- Add FWS branding details for Anaconda installer (ANACONDA_PRODUCT* exports via .xinitrc)
- Enhance splash screen description with real-time anaconda activity monitoring and auto-diagnostic
- Document memory requirements (4 GB recommended, 2 GB minimum with zram swap)
- Clarify boot menu entries and recovery accessibility from live, GRUB, and installed system
- Add fws-recovery as GTK application with bash engine and console fallback
- Document zram swap configuration for both live and installed system
- Detail recovery system integration: GRUB entry, systemd target, polkit policy, and desktop launcher
- Update syslinux splash and DEFAULT entry documentation
- Expand merge rule warning with syslinux-linux.cfg example and BIOS boot status
- Enhance troubleshooting section with detailed recovery procedures and known issues resolutions
- Add information about splash watchdog, RAM warnings, and diagnostic auto-generation
Update the Anaconda branding removal checklist item from incomplete to completed, documenting the implementation details:
- Product name changed to FWS via ANACONDA_PRODUCTNAME and ANACONDA_PRODUCTVERSION variables
- Variables exported by live .xinitrc and read from FWS os-release
- Installation header displays "FWS 1.0 INSTALLATION"
- BIOS boot menu visual replaced with FWS splash screen
- Modified Anaconda version documented in LICENSING.md and TRADEMARKS.md
Also update the compliance date from 2026-06-17 to 2026-07-07.
Add PolicyKit authorization policy file to allow fws-recovery-gui to execute fws-recovery engine via pkexec with administrative privileges. The policy uses auth_admin_keep to require authentication only once per session.
Add a new scalable SVG icon for FWS recovery application featuring a medical cross symbol in FWS brand colors (blues) on a dark background. Icon is placed in the standard hicolor scalable apps directory.
Add desktop entry file for FWS Recovery application launcher in the installed OS. Provides bilingual (French/English) interface for system repair operations including GRUB, initramfs, and pacman restoration. The application runs as a regular user with privilege escalation handled via pkexec.
Add a new script that launches an X session with Openbox and the fws-recovery-gui application. This script is executed by startx during the FWS repair boot entry, providing a minimal graphical environment with Openbox as a fallback if the GUI crashes.