Commit Graph
210 Commits
Author SHA1 Message Date
nocode 99b135426f feat(installer): install on disks hidden behind Intel RST
On most recent laptops the BIOS ships set to "RST" (also called "Optane" or
"RAID") rather than AHCI: the NVMe drive is no longer on the PCIe bus
directly, it sits behind an Intel VMD controller which creates its own PCI
domain. FWS could not install on those machines.

The advice found everywhere -- switch the BIOS to AHCI -- is both unnecessary
and often impossible. Unnecessary because the kernel has read those drives
through the vmd module since 4.5, and it is in Arch's kernel. Impossible
because plenty of BIOSes expose no such toggle at all, and because on a
dual-boot machine the change stops Windows from booting. FWS therefore never
asks for it first; it is the last resort, and the Windows consequence is
spelled out when it comes to that.

Where this really bit was the reboot, not the install. The live medium sees
the drive because its kernel loads vmd, the install runs to completion, and
then the installed machine does not come up: the initramfs has no vmd, so the
root device cannot be found before it is mounted. A silent failure, invisible
during the install itself.

fws-intel-rst holds all the logic, the way fws-setup-hardware holds the driver
logic, so there is only one detection to keep correct. It reads sysfs rather
than lspci: always present, works inside the %post chroot, and it is the only
source that gives the PCI domain, which is what proves an NVMe really is
behind the VMD rather than plugged in directly. Controllers are matched on
class plus vendor, not on device IDs, which change every generation.

The %pre loads the module before anything else, and that is the step that
makes the whole thing automatic. run_pre_scripts() is called by
/usr/bin/anaconda before the kickstart is even parsed, so before the disk
inventory and long before the UI. Without it the lsblk just below found no
drive, the target fell back to its /dev/sda default, a disk that does not
exist on these machines, and clearpart aimed at nothing, leaving no safe
default. The --ensure mode returns immediately on a machine with no VMD: no
PCI rescan, no waiting, since this sits on the startup path of every install.

The %post writes vmd and nvme into the target's MODULES before mkinitcpio
runs, and adds the mdadm_udev hook for firmware RAID volumes. Both modules are
declared explicitly instead of being left to autodetect, which works from the
modules loaded at image build time: missing vmd there shows up only at reboot,
on a machine that no longer starts.

The new installer screen, fws_rst.py, is the fallback for when even that
failed. It never shows on an ordinary machine: completed returns True as soon
as the engine says there is nothing to do, and _instantiateAction destroys any
completed standalone without displaying it. Machines with no VMD controller,
or with a working one, see nothing, so there is no extra box to understand for
the majority that needs none. When it does show, it explains the situation in
plain French with one button, and no VMD, initramfs or modprobe in any visible
string. Continue stays enabled and Précédent leads back to the network screen,
so the chain back to the keyboard choice stays whole; the wizard now resolves
that chain to the last standalone actually on the stack instead of a fixed
name.

Verified on synthetic sysfs trees, 27 cases: the four hardware states, both
false-positive guards (an Intel audio controller and a non-Intel RAID
controller), initramfs rewriting including idempotence, and the display
decision with Anaconda stubbed out. A missing engine or an unexpected exit
code shows nothing rather than worrying the user. The modprobe and PCI rescan
themselves are untested, there being no VMD controller on this machine.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-14 10:57:47 +02:00
nocode 3b23fd378b docs(release): split the changelog into 0.7.0 and 0.8.1
0.7.0 is the installer release: the step-by-step wizard, its next/back
navigation, the keyboard applied immediately, the default desktop, the bug
reporting tool and every fix that stopped installations from completing
(ESP/GRUB, DNS, live services). Merged into the existing 0.7.0 section rather
than duplicated, so there is a single entry for that version.

0.8.1 is the hardware release: the driver script defects, the missing sound,
the graphical setup window, PacManager and podman.

VERSION was already at 0.8.1 but os-release still said 0.7.0 -- and os-release
is the one everything reads at runtime: the installer header, "À propos", the
bug report. Aligned, along with the .xinitrc fallback and the header examples
in the documentation.

The release notes move to changelog/ and still describe 0.7.0, which is now
accurate again after the split.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-11 14:18:53 +02:00
nocode c9461c2d59 docs(brand): FWS opens its arms to everyone, not "replace Windows"
The project no longer presents itself as a Windows replacement. FWS is a Linux
distribution that opens its arms to everyone: it refutes the idea that Linux is
complicated by making it simple from the very first boot, without taking
anything away from it -- there is a full Arch underneath and everything remains
possible on it. Running Windows applications is still a feature; it is no
longer the purpose.

Rewritten in the README opening, the "À propos" tagline, and the rationale
comments that justified choices by "FWS replaces Windows".

Technical mentions of Windows are deliberately kept: winboat and Wine,
dual-boot and os-prober, building the ISO from Windows through WSL, and the
"Windows-like step by step" phrase describing the installer -- that comparison
is still accurate, and it actually serves the new claim: the familiar is not
Windows' private property. TRADEMARKS.md is legal text and stays untouched.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-11 14:18:41 +02:00
nocode 2cd6a3f3db feat(hardware): graphical driver setup, opened at first boot
New "Pilotes et matériel" window (fws-drivers) with the two paths asked for:
a simple install that puts in whatever the machine needs and then checks and
repairs display, sound, Bluetooth, network and printing, and an advanced one
that lists the groups as checkboxes, pre-ticked from what was detected. Plus a
"check and repair only" entry that installs nothing.

It decides nothing by itself: detection and installation stay in
fws-setup-hardware, which it calls, so there is no second hardware logic to
keep in sync with the kickstart.

No terminal. A computer novice described the previous flow as scary, and she
was right -- a black screen scrolling hundreds of pacman lines with nothing
saying things were going well. Privileges now go through pkexec and a polkit
policy (the mechanism fws-recovery already used, with the authentication agent
already autostarted in the i3 and Hyprland sessions), and progress is shown in
the window itself: a spinner, a plain-French step, a line telling the user
there is nothing to do, and the raw output folded away behind "Afficher les
détails" for whoever wants it or needs to paste it into a bug report.

It opens on its own at first boot, but only when it is needed: the engine
writes /var/lib/fws/hardware-done when pacman succeeded, and --autostart
withdraws silently if that marker is there. An install that had network stays
quiet; one without -- much the more common case -- gets the window to finish
the job. A "ne plus me le proposer" box stops it for good.

Also here: Super+P opens the package manager on i3 and Hyprland, declared with
its description on Hyprland so it shows up in the fws-keys panel, and
profiledef.sh gains the executable bit for fws-drivers.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-11 14:18:30 +02:00
nocode a37106f78c fix(hardware): install real GPU drivers and make audio work
No NVIDIA kernel module was ever installed. "nvidia" and "nvidia-dkms" no
longer exist in the Arch repositories -- only the open modules remain
(nvidia-open, nvidia-open-dkms). The script asked for nvidia-dkms, its own
validity filter dropped it in silence, and all that got installed was
nvidia-utils: the userspace libraries with no kernel module at all. X fell back
to nouveau, which makes a recent card unusable. The generation is now derived
from the PCI id -- Turing starts at 0x1E00 while Pascal and Volta top out in
0x1Dxx -- so open modules go to Turing through the RTX 50xx Blackwell cards and
xf86-video-nouveau to anything older.

Three more defects in the same place:

- Only one vendor was served. Detection was a "case", which stops at the first
  matching pattern, so on a hybrid laptop the integrated GPU got no driver at
  all. Each vendor is now tested independently.
- No 32-bit drivers, although Steam and Proton games depend on them.
- libva-mesa-driver and mesa-vdpau were merged into mesa: asking for them by
  their old names configured no hardware video decoding whatsoever.

And there was no sound on i3, nor on any bare window manager. The PipeWire
packages were installed but nothing ever started the server: GNOME and KDE
bring up the audio session themselves, i3, Hyprland and XFCE have no session
manager that does. The user units are now enabled with "systemctl --global", so
for existing and future accounts alike, and alsa-firmware/alsa-plugins are
installed -- some codecs stay mute without them.

The script also becomes an engine the graphical front-end can drive (--plan,
--groups, --check) so there is only one hardware logic in the project, adds a
printing group, verifies and repairs services after installing (Bluetooth
rfkill and controller, NetworkManager, cups), and NAMES packages missing from
the repositories instead of discarding them without a word -- that silence is
what hid nvidia-dkms going away.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-11 14:18:14 +02:00
nocode b4c4ad7049 feat(installer): install PacManager on the target system only
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>
2026-09-09 16:06:15 +02:00
nocode af6f1b4d8b feat(iso): ship podman in the image
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>
2026-09-09 16:06:02 +02:00
nocode 795b5f747d feat(branding): FWS Linux in the GRUB menu, and generate the fr_CH locale
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>
2026-09-09 14:42:53 +02:00
nocode f1884c00ab Merge branch 'feat/bugreport' into fix/installer-wizard
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>
2026-09-09 11:40:03 +02:00
nocode a70d132b6a docs(changelog): describe the installer and bug-reporting changes
Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-09 10:08:39 +02:00
nocode d4833fa6c3 fix(branding): point project URLs at the real repository
os-release, motd, fws-about, profiledef.sh and LICENSING.md all advertised
https://github.com/You-re-like-Windows-a-bitch/fws, which does not correspond
to where the project actually lives -- BUG_REPORT_URL included, so users had no
working way to report anything. They now point at
https://gitea.nocode-var.tech/FWS/FWS-ISO, and BUG_REPORT_URL at the FWS bug
tracker.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-09 10:08:39 +02:00
nocode 0d2300d7ea feat(installer): send failure reports to the FWS bug API
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>
2026-09-09 10:08:30 +02:00
nocode c2859aace7 feat(installer): step-by-step wizard with next/back navigation
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>
2026-09-09 10:08:19 +02:00
nocode 5669dbdd66 fix(installer): find the EFI system partition instead of never finding it
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>
2026-09-09 10:08:02 +02:00
nocode 92741590c0 fix(live): restore airootfs symlinks so DNS works in the installer
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>
2026-09-09 10:07:50 +02:00
BlackAngelTVandCodebuff 5f56d74124 docs: CHANGELOG — fws-bugreport, install bare-metal fiabilisé, build durci
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-08 22:04:30 +02:00
BlackAngelTV c83c042169 chore(build): durcir le build — miroirs rsync, symlinks systemd, networkd masqué
- 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>
2026-09-08 22:04:30 +02:00
BlackAngelTV 803daec8d9 fix(installer): fiabiliser l'installation bare-metal (noyau, mkinitcpio, partitionnement)
- %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>
2026-09-08 22:04:22 +02:00
BlackAngelTV 50dddab2ca feat(bugreport): outil « Signaler un problème » — télémétrie optionnelle validée par l'utilisateur
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>
2026-09-08 22:04:13 +02:00
BlackAngelTV 855d01b8f6 Ajouter AGENTS.md 2026-09-04 12:22:12 +00:00
BlackAngelTV f03d5fe5c1 feat(scripts): auto-fallback to Docker container when no Arch WSL distro is found
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).
2026-09-04 14:16:16 +02:00
BlackAngelTV 1be737792a chore: bump FWS version from 0.6.0 to 0.7.0
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.
2026-09-03 21:57:13 +02:00
BlackAngelTV ca4b208100 fix(setup-aur): self-heal interrupted package transactions
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.
2026-09-03 21:57:09 +02:00
BlackAngelTV a97e1dc3e1 fix(installer): make GRUB reliable on bare-metal dualboot installs
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.
2026-09-03 21:57:06 +02:00
BlackAngelTV cd68defa5b feat(installer): simple network picker screen after language selection
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.
2026-09-03 21:56:58 +02:00
BlackAngelTV 151cc62e7b docs(trademarks): update fws version number from 0.6 to 0.7 2026-09-03 21:37:10 +02:00
BlackAngelTV 4226bb9cdd docs(licensing): update fws version from 0.6 to 0.7 in installation header example 2026-09-03 21:37:10 +02:00
BlackAngelTV 26f6986671 docs(changelog): add 0.7.0 release notes (network screen, dualboot GRUB, setup-aur) 2026-09-03 21:37:10 +02:00
BlackAngelTV 9243b2e250 docs(readme): describe simple network picker and dualboot GRUB hardening 2026-09-03 21:37:09 +02:00
BlackAngelTV d5dc8fd51c chore: untrack .freebuff session data
.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>
2026-09-03 18:45:35 +02:00
BlackAngelTV 136240d03e Merge pull request 'Fix desktop autostart' (#4) from fix-desktop-autostart into Main
Reviewed-on: #4
2026-08-26 17:46:54 +00:00
BlackAngelTV 7f614dace6 fix(autoinstall): desktop install 2026-08-26 19:46:11 +02:00
nocode ff6d308fa1 feat(build): add preflight package resolution and fws-dnd package
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.
2026-07-07 21:39:29 +02:00
nocode d7559c0036 docs(changelog): update changelog with new features and fixes
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
2026-07-07 21:07:10 +02:00
nocode 2b74e5d7d8 merge(Multi-Desktop)!: Add Multi DE on the installer 2026-07-07 21:04:19 +02:00
nocode 9b3d30dc8e Merge branch 'Main' into Multi-Desktop 2026-07-07 18:48:21 +00:00
nocode 2ea842f815 Merge branch 'Multi-Desktop' into Main 2026-07-07 20:46:57 +02:00
nocode 9cf4867cfa docs(trademarks): correct fws version number from 1.0 to 0.6 2026-07-07 13:57:22 +02:00
nocode 66ff8c54a4 docs(readme): update fws version from 1.0 to 0.6 in installation header 2026-07-07 13:57:17 +02:00
nocode 5a113201a1 docs(licensing): update fws version from 1.0 to 0.6 in installation header example 2026-07-07 13:57:12 +02:00
nocode 184ec58f63 docs(changelog): update fws version from 1.0 to 0.6 2026-07-07 13:57:08 +02:00
nocode 5ea30fbeb2 feat(releng): enable systemd-timesyncd ntp synchronization
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.
2026-07-07 13:57:04 +02:00
nocode 28fa033247 chore(release): bump version to 0.6.0 2026-07-07 13:56:58 +02:00
nocode a90467593b chore(.xinitrc): update anaconda default product version to 0.6 2026-07-07 13:56:54 +02:00
nocode c9a4bef7a0 chore(releng): convert systemd service files to symlinks
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.
2026-07-07 13:56:43 +02:00
nocode 38a05aca1d chore: bump version to 0.6.0 2026-07-07 02:53:18 +02:00
nocode 7a8c98f4ca docs(changelog): release version 0.6.0
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).
2026-07-07 02:53:14 +02:00
nocode ed1e0fce64 docs(environnement): add native arch linux build reference section
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.
2026-07-07 02:48:34 +02:00
nocode e3e3240f96 docs(trademarks): document branding removals and anaconda customization
Add detailed documentation of trademark and branding changes:

- BIOS boot menu: replaced archiso syslinux splash with FWS original artwork
- Login banner: uses FWS PRETTY_NAME without kernel version suffix
- User-facing text: replaced references to Arch Linux/Fedora with generic descriptions
- Anaconda installer: configured to display "FWS 1.0" via environment variables
- Splash screen filtering: removes Fedora mentions from visible logs
- Technical logs: intentionally preserve upstream component identification for diagnostics

All changes maintain nominative fair use and preserve functional upstream tool identifiers.
2026-07-07 02:48:29 +02:00
nocode c21d81f43e docs(readme): update fws architecture and recovery system documentation
- 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
2026-07-07 02:48:22 +02:00