Commit Graph
318 Commits
Author SHA1 Message Date
BlackAngelTV 69c165e95c fix(build): survive filesystems that reject colons in package names
makepkg names epoch packages "<name>-<epoch>:<ver>-<rel>-<arch>", but
local-repo lives on an NTFS mount where ":" is refused: the first epoch
package (libxmlrpc) killed setup-aur.sh mid-run with EINVAL. Publish under
an epoch-less filename — pacman reads the epoch from the package and from
the repo database — probe the filesystem once at startup, and fail loudly
when a published file is not readable.

Ghost dirents left behind by those failed copies also matter: "ls <glob>"
then reports an error, and build.sh concluded the repo was empty, so the
ISO would have shipped without the FWS packages; repo-add died on them.
Detection now uses stat instead. The AUR package check was dead too, its
declaration having been parsed into a single word.
2026-11-13 11:17:14 +01:00
BlackAngelTV caa0b17262 Merge pull request 'fix(wallpaper): keep retrying the first-login wallpaper for 20 minutes' (#27) from fix/wallpaper-first-login into Main
Reviewed-on: #27
V0.8.1
2026-11-04 08:50:42 +01:00
BlackAngelTV 55c1a28660 Merge pull request 'fix(installer): step-by-step wizard, Intel RST/VMD support, bug reports and a bootable EFI partition' (#17) from fix/installer-wizard into Main
Reviewed-on: #17
2026-11-04 08:02:00 +01:00
BlackAngelTV 913a4a071c fix(wallpaper): keep retrying the first-login wallpaper for 20 minutes
On real hardware the first Plasma login can be much slower than in a VM
(Wayland startup, slow disk, desktop installed late), so the previous
20-second window could pass with no wallpaper. Every failure was silent,
which made the cause impossible to diagnose after the fact.

The autostart entry now retries for 20 minutes, logs each attempt in
~/.local/state/fws/wallpaper.log, exposes --status, and only writes the
"done" marker after a successful apply so a later user choice is never
overwritten.
2026-11-04 08:02:00 +01:00
nocode bee666537e docs(readme): one plain minimum/recommended table for the install machine 2026-11-03 12:52:35 +01:00
nocode e937d7f982 docs(readme): recommended hardware at the top
Readers decided whether FWS fits their machine by digging through the
feature list; the memory, storage, GPU, firmware and network needs are now
the first thing on the page. Storage is based on a real install (about
30 GB on / with KDE, drivers and applications); the Vulkan generations are
those the shipped free drivers and the NVIDIA open modules support.
2026-11-03 12:29:30 +01:00
nocode 324d466b7d feat(hardware): ship Vulkan in the image as a base graphics driver
The installed system is a copy of the live image, and fws-setup-hardware
only completes the GPU drivers at the end of the installation when the
network is up. A machine installed offline therefore had no Vulkan ICD at
all: the desktop ran on software rendering and nothing from Steam started.

mesa, the loader, the free ICDs of every vendor, lavapipe and vulkaninfo
now travel in the image. The proprietary NVIDIA stack (DKMS) and the 32-bit
libraries (multilib) stay in fws-setup-hardware.
2026-11-03 12:18:49 +01:00
nocode 12195792f6 fix(installer): create the EFI partition even with "bootloader --disabled"
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.
2026-11-03 12:09:09 +01:00
nocode 15550d8ab4 chore(merge): bring fix/installer-wizard up to date with Main
Main replaced WinBoat with PacManager 1.6.2 (fetched from the public Gitea,
installed under /opt and shipped in the live image) and added the install
progress steps, the Vulkan-per-GPU fix and the default emoji font. This
branch keeps everything that is specific to it: Intel RST/VMD handling
(fws-intel-rst, --no-nvram in the kickstart and fws-grub-finalize, the ESP
lookup fix), the Broadcom wl driver, fws-bugreport and the step-by-step
wizard.

Where the two sides disagreed on PacManager, Main wins: the vendored 1.4.3
tarball, the FWS launcher and the target-only install block (build.sh and
kickstart) are dropped, since the package now ships in packages.x86_64 and
the LiveOS payload copies it to the target. Launchers call PacManager, the
binary Main's package exposes on PATH.
2026-11-03 12:07:57 +01:00
BlackAngelTV 096e47ae94 Chore(PacManager): Update to 1.6.2
Update to 1.6.2 for new update system
2026-10-30 20:20:03 +01:00
BlackAngelTV 469bb2ad81 Merge pull request 'Feat/pacmanager replaces winboat' (#23) from feat/pacmanager-replaces-winboat into Main
Reviewed-on: #23
2026-10-30 11:31:25 +00:00
BlackAngelTV 715b1f76d4 chore(Agents): Add new Agents.md 2026-10-30 12:26:57 +01:00
BlackAngelTV b0763a69ed refactor(airootfs): drop WinBoat from the installer and hardware texts
The install summary, the hardware setup header and the About dialog still
announced Windows apps through WinBoat. They now name PacManager, which is the
package the image actually ships.
2026-10-30 10:06:42 +01:00
BlackAngelTV 917ffa08bd docs: describe PacManager in place of WinBoat
The quick start, changelog, attribution notice, license inventory and trademark
page all still advertised WinBoat. PacManager is first-party FWS software under a
restrictive source-available license, so it is documented outside the
third-party tables, and the install path is described because that directory is
what makes its automatic updates possible.
2026-10-30 10:06:42 +01:00
BlackAngelTV eb5405dc58 refactor(packages): replace winboat-bin with fws-pacmanage
WinBoat went unused, so both ISO profiles now list PacManager instead.
fws-pacmanage is built locally like the other FWS packages, so it joins the
local build order in setup-aur.sh rather than the AUR package list.
2026-10-30 10:06:42 +01:00
BlackAngelTV a659c772b8 feat(pkgbuilds): package PacManager 1.6.0 for the FWS image
PacManager ships only sources from its Gitea releases, so the image needs a
recipe to carry the compiled app. It is installed under a dedicated
/opt/fws-pacmanage prefix because its self-update rewrites the directory of the
running binary: a bare bin/ install would drop a `version` marker and a
`plugins/` folder straight into /usr/bin. The upstream CMakeLists also declares
its plugin install rules above the FWS_BUILD_*_PLUGIN options, so the Flatpak
and AUR providers are installed by hand into that same directory.
2026-10-30 10:06:42 +01:00
BlackAngelTV 86eb7af5ef fix(fastfetch): keep the standard information beside the logo
A config file replaces fastfetch's default module structure, so the FWS logo
was printed alone: no OS, kernel, CPU or disk lines at all. List the default
modules explicitly so the output looks like a normal fastfetch call, with the
FWS logo on the left and the machine's real information on the right; OS: comes
from /etc/os-release and therefore reads "FWS Linux", not "Arch Linux".
2026-10-29 21:42:46 +01:00
BlackAngelTV cf4fe19597 Merge pull request 'fix(build): install the pyanaconda overlays after pacstrap' (#22) from fix/anaconda-overlay into Main
Reviewed-on: #22
2026-10-29 20:22:52 +00:00
BlackAngelTV c7abbc6fb7 fix(build): install the pyanaconda overlays after pacstrap
mkarchiso copies the profile airootfs before it installs packages, so shipping
files that replace files owned by the anaconda package aborted the build with
"exists in filesystem" and unpacstrapped root. Keep the two overlays in a
staging directory outside the package paths and copy them from
customize_airootfs.sh, which runs after pacstrap; fail the build loudly if they
do not land, and drop the staging copy so it never reaches the ISO.
2026-10-29 21:19:18 +01:00
BlackAngelTV 76f08dd66d Merge pull request 'feat(installer): show each install phase on the progress screen' (#21) from feat/installer-progress into Main
Reviewed-on: #21
2026-10-29 20:13:22 +00:00
BlackAngelTV eadd5c2815 feat(installer): show each install phase on the progress screen
The progress screen sat on "Running post-installation scripts" for the whole
%post with a bar that never moved, so a slow desktop install looked like a
hang. The kickstart phases now publish what they are doing through
fws-install-step, the scripts task turns those percentages into one step per
phase with a message naming the running script, and the boss reserves the same
number of steps so the bar actually follows them. A title is taken from each
script's "# FWS-TITLE:" line, and progress stays cosmetic: a missing file or a
D-Bus failure falls back to the previous single step.
2026-10-29 21:09:47 +01:00
BlackAngelTV c17a7fa844 Merge pull request 'feat(fastfetch): show the FWS logo whatever launches fastfetch' (#20) from feat/fastfetch-logo into Main
Reviewed-on: #20
2026-10-29 19:45:37 +00:00
BlackAngelTV 21e0c32427 feat(fastfetch): show the FWS logo whatever launches fastfetch
The FWS logo only came from the flags passed by the login-shell hook, so
running fastfetch from a desktop terminal, a TTY or any non-login shell fell
back to the Arch logo. Move the logo (and its colours) into a system-wide
config that fastfetch reads for every account, live or installed, and keep the
hook down to a plain call. The module list is left to fastfetch defaults so it
does not rot with upstream versions; a user's own config still wins.
2026-10-29 20:42:04 +01:00
BlackAngelTV 169569ed1b Merge pull request 'feat(fonts): ship a configured default emoji font' (#19) from feat/default-emoji-font into Main
Reviewed-on: #19
2026-10-29 19:37:52 +00:00
BlackAngelTV f1f05f0361 feat(fonts): ship a configured default emoji font
Emoji showed up as empty boxes almost everywhere: no emoji font was installed
by default, and nothing told fontconfig which family to use for them, so
GTK/Qt/Electron apps and the installer fell back to whatever the system had.
Install Noto Color Emoji on the live image, with the desktop transaction and in
the hardware base, and add a fontconfig rule that resolves the "emoji" family,
appends it as a last resort for generic families without displacing the primary
font, and keeps bitmap emoji enabled when a no-bitmap rule is active. The
desktop font stacks (waybar, wofi, polybar) list it explicitly, and the
fontconfig cache is refreshed after installation.
2026-10-29 20:02:55 +01:00
BlackAngelTV 1a069d6e72 fix(hardware): install Vulkan for every detected GPU
Hybrid laptops expose two GPUs, but the driver detection kept only the first
matching vendor, so the second GPU got no Vulkan ICD at all; the Vulkan loader
was never installed explicitly and 32-bit games (Steam/Proton) had no ICD on
any machine. NVIDIA also had no VA-API driver, leaving video decode on the CPU.
Detect each vendor independently, add the loader, vulkaninfo and the 32-bit
ICDs, ship libva-nvidia-driver, and log the ICDs actually present so a missing
Vulkan driver is diagnosable from the install log.
2026-10-29 19:25:04 +01:00
BlackAngelTV 8d4d47b65b Merge pull request 'feat(installer): ship a default FWS wallpaper for fresh installs' (#18) from feat/default-wallpaper into Main
Reviewed-on: #18
2026-10-29 18:09:24 +00:00
BlackAngelTV 89a7cf23f3 feat(installer): ship a default FWS wallpaper for fresh installs
New installs landed on a bare background (especially Hyprland and i3, which
declared no wallpaper at all), so the desktop did not look like FWS on first
boot. The image is bundled in the ISO instead of downloaded: it works without
network during the first boot, renders identically everywhere and needs no
hosting. A per-user marker stops the script once the wallpaper is set, so the
choice made afterwards by the user is never overwritten.
2026-10-29 19:07:14 +01:00
nocode 3d96af0482 docs(security): security rules for AI agents and contributors
Twelve sections covering agent behaviour, prompt injection, secrets, input
validation, authentication, supply chain, CI, data and logs, infrastructure,
checklists, automated checks and vulnerability reporting. Each rule is meant to
be checkable by a test, a grep or a CI job.

Two of them are already project practice, now written down: only human authors
in commits, and agent rule files treated as an attack surface since they steer
every later generation.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-25 20:38:18 +02:00
nocode db587b1a71 fix(bugreport): collect the install log from the live, and the crash traceback
A report sent from the live medium carried the system summary and the journal,
and nothing else. That is exactly what came back from a real installer crash on
RST hardware, and it was not enough to diagnose anything.

Two gaps, both of which made an installer failure unreportable.

The install log was only looked for at /var/log/fws-post.log, which exists on
the installed system. During an installation it is the %post --nochroot that
copies it into the live's /tmp, because the target disk is unmounted by the time
anyone needs to read it. Both paths are searched now. This is the log that says
whether the disk will boot.

/tmp/anaconda-tb-* was never collected at all. When the installer crashes, the
dialog shows only the dasbus wrapper frames and the real exception lives in that
file alone. The live runs in tmpfs, so it dies with the next reboot: without it
in the report, a crash cannot be looked at afterwards by anyone.

Verified on four situations: installed system, live without a crash, live with
one, and neither file present, which adds no empty section.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-25 20:38:18 +02:00
nocode b27378eed3 fix(boot): never write NVRAM on Intel RST machines
Seen on real RST hardware: the installed system boots once, then never again,
the firmware no longer finding a bootable disk.

What is established. In the installer's chroot efivars is not reachable, so
nothing is written to NVRAM and the firmware boots EFI/BOOT/BOOTX64.EFI, which
it finds by scanning the ESP. That first boot works. Then fws-grub-finalize runs
grub-install again, and this time efivars answers: it creates a "FWS" entry and
puts it first in the boot order. That is the only thing this chain changes at
firmware level between the two boots, and firmware level is where the second
one fails.

What is assumed, not verified for lack of a VMD machine: why that entry is
unusable. Under VMD, Linux sees the NVMe in a synthetic PCI domain (10000:...)
that the vmd module creates and the firmware knows nothing about, so a device
path computed from that view resolves to nothing. "efibootmgr -v" on an
affected machine would settle it.

On any machine with an Intel VMD controller, FWS now relies solely on the
--removable path, which the first boot proves works. Detection goes through
fws-intel-rst (exit codes 10/11/12), the project's single VMD logic. Machines
without VMD are untouched and keep their NVRAM entry.

There were three NVRAM writers, and all three are gated:

- the kickstart %post, where the write fails anyway today but would break even
  the first boot in an environment that exposed efivars to the chroot;
- fws-grub-finalize, both grub-install and the efibootmgr -c fallback;
- fws-recovery, which was the worst of them. It goes through arch-chroot, and
  unlike Anaconda's chroot, arch-chroot mounts efivars, so the write succeeded
  there, from the ISO as well as from the installed system. A user whose RST
  machine would not boot would run "Réparer FWS", and the repair would recreate
  exactly the entry that stops it from booting.

Also in fws-grub-finalize: two lsblk calls took the disk from "lsblk -s", which
draws a tree, and got "└─/dev/nvme0n1" (checked on a real NVMe). The efibootmgr
fallback therefore always received a garbage device and never created its
entry, and the ESP search could fall back to the first ESP on the system,
Windows' on a dual-boot. The kickstart had already fixed this very trap in its
BIOS branch; the UEFI branch here had been missed. Fixing it alone would have
re-armed the efibootmgr writer on VMD, which is why it lands together with the
gate.

Tested by replacing the system tools with recording stubs: fws-grub-finalize
and fws-recovery each over five cases (no VMD, VMD in its three states, engine
missing), plus the engine's six detection cases. In every case the --removable
path is still installed, since on these machines it becomes the only way in.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-22 15:56:06 +02:00
nocode 5703e731f1 docs(installer): say why "bootloader --disabled" is not enough
The comment above it claimed that flag disables Anaconda's native bootloader
step. It does not, and believing it cost whole installations.

create_bls_entries runs "grub2-mkconfig -o /etc/grub2.cfg" in the target on
every live install and raises BootloaderInstallationError on a non-zero exit
(pyanaconda/modules/storage/bootloader/utils.py). Arch ships grub-mkconfig, not
grub2-mkconfig, so the command does not exist and the install dies at
"Installing boot loader" behind a D-Bus traceback that never names the cause.

Verified against the anaconda 45.8 package in local-repo, not taken on trust.
The comment now points at the /usr/bin/grub2-mkconfig shim that handles it.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-22 14:20:26 +02:00
nocode 9fec8c26af build(anaconda): disable LTO, GCC 16 crashes linking the widgets
lto1 segfaults (internal compiler error) on libAnacondaWidgets. Both
packages compile widgets/, so both need it.
2026-09-22 14:03:06 +02:00
nocode 73bba3f388 fix(build): refresh the keyring and never partial-upgrade the build host
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++.
2026-09-22 14:03:06 +02:00
nocode a9aacaa8f9 fix(installer): stop Anaconda's grub2-mkconfig from aborting the install
Even with "bootloader --disabled", Anaconda runs "grub2-mkconfig -o
/etc/grub2.cfg" in the target for live installs and aborts on failure. On
an Intel RST laptop (Omen 16 Max) this crashed the install at "Installing
boot loader", before the %post that actually configures GRUB could run.
FWS never reads that file, so the shim now skips that single call.

The crash dialog only shows dasbus wrapper frames, so the FWS debug report
now also includes the tail of /tmp/anaconda-tb-*.
2026-09-22 14:03:06 +02:00
nocode cc5a01b73c chore(iso): btop instead of htop, drop xterm from the releng list
Recorded as edited, with two facts that decide whether it ever takes effect.

This file is not the one that ships. build.sh copies configs/releng/* and then
overlays configs/baseline/* on top, and packages.x86_64 exists in both, so
baseline's copy replaces this one wholesale. baseline still lists htop and
xterm, so nothing in the built image changes until the same edit is made there.
The profiledef.sh header already carries this warning for permissions; it holds
for the package list too.

Dropping xterm should not be mirrored to baseline as it stands. It is the only
terminal in either list, no kitty, konsole, alacritty, foot or gnome-terminal
anywhere, and fws-recovery-gui calls it unguarded for its "terminal dans le
système (chroot)" button, the last-resort tool on a machine that no longer
boots. Without xterm that button raises and does nothing visible. fws-recovery
itself guards on command -v and degrades quietly, and fws-drivers keeps a
terminal fallback that would have nothing left to fall back to.

btop is fine either way, it just needs the same line in baseline to appear.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-18 11:23:27 +02:00
nocode bcad535c57 docs(release): pre-release note for the 0.8.1 test build
Written for testers rather than for the changelog. It says what changed for
someone using the machine, then asks for seven specific things in the order
they are useful to us, and names what is not verified instead of hoping nobody
asks.

Two items are honest gaps: the Intel RST module load was never exercised on a
machine actually set to RST, and PacManager could not be compiled on the
development machine for want of Qt6. Both are called out in the test list and
again under known limits. A tester finding out on their own that something was
untested is a tester who stops reporting.

It also asks the question that a changelog never does: at what point did you
feel lost. A screen whose purpose is unclear is a bug in a distribution whose
whole claim is that Linux is not complicated, and it will not show up in any
log.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-18 11:09:13 +02:00
nocode a1d2b60068 docs: bring README and environnement.md up to 0.8.1
Six things shipped without ever reaching the README: PacManager, the "Pilotes
et matériel" window and its engine, Intel RST support, the Broadcom Wi-Fi
driver, and gparted in the live image. None of them appeared anywhere in it.

README gains them where a reader looks for them rather than in a changelog
paragraph: supported disks and the live disk tooling under Aperçu, the
conditional Intel RST screen and the Broadcom driver in the install section,
four commands in the installed-tooling table, and what setup-aur.sh and
build.sh actually do now. Four troubleshooting rows cover the failures a tester
will actually hit: no disk listed, no Wi-Fi after install on a Broadcom card,
a clone failing because the AUR is unreachable, and an installed system that
cannot find its root.

environnement.md gains what a build machine needs to know. The container path
from Fedora is named as a working reference next to native Arch, since that is
what the development machine runs. The network section now lists the three
hosts involved, which of them is fatal when unreachable, and the simultaneous
TCP timeout already observed on two mirrors and the AUR while DNS still
resolved. Two design points are recorded so they are not simplified away later:
--network=host, without which the AUR and the mirrors are unreachable from
inside the container while the host is perfectly online, and the reason
broadcom-wl-dkms is built but never installed in the build environment.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-18 11:09:08 +02:00
nocode 6a58d19089 docs(legal): name the authors instead of "FWS contributors"
AUTHORS.rst lists the two people behind the FWS-specific work rather than a
single collective address. COPYRIGHT.md and TRADEMARKS.md follow, the copyright
holder being designated by an author rather than by an anonymous contributor
pool.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-18 10:47:37 +02:00
nocode b2de0fc91f fix(build): fall back to local-repo when the AUR cannot be reached
A run died cloning libxmlrpc, a package that was already built and sitting in
local-repo, along with the seven others. Ten minutes of keyring refresh, system
upgrade and 600 MB of build tools, thrown away on the first package, for a
clone whose only purpose was to read a version number.

That is why the clone happens at all: build_or_skip compares the PKGBUILD's
version against local-repo to decide between building and skipping, and the
PKGBUILD only exists once cloned. With no network there was no path left, even
though the answer was already on disk.

Three changes.

Each clone now gets a second attempt after five seconds. A network that
stumbles for a second should not cost a whole preparation phase.

When both attempts fail, the package already built in local-repo is reused and
the warning names the file that was picked. Offline there is no way to know
whether a newer version exists upstream, so the one on hand is taken. The
script only gives up when the package is genuinely absent, and it then says
which host to check.

A flag stops the bleeding after the first total failure: the remaining packages
go straight to the fallback rather than waiting through two TCP timeouts each,
which on eight packages is minutes of waiting for an answer already known.

Two name-matching traps are covered by the new helpers. A version-agnostic
lookup on "$pkg"-* would match "$pkg"-debug-* and install the debug package
instead, so the glob requires a digit after the dash, which every pacman
version starts with and no name suffix does. The same glob keeps a name from
catching a longer one that has it as a prefix. Neither helper has a test yet.

On the incident itself, only what the log shows: the mirrors gave up after 10 s
and the AUR after 21 s, so the run met connection timeouts rather than
refusals, and DNS had resolved. The container runs with --network=host, so
podman's bridge was not in the path. Why the packets went nowhere was not
measured. Transient, and now survivable.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-18 10:09:41 +02:00
nocode 70e14b245b feat(pacmanage): PacManager 1.4.3, screens split out and a plugin shop
Replaces the vendored 1.4.1 tarball. Upstream restructured: a logic layer of
background workers, a plugin shop and a controller, with one file per screen
under pages/ on top of it. New screens for dashboard, browse, cleanup, history,
logs and plugins, plus a doc/ directory.

Nothing new to install alongside. The CMake options, the Qt components and the
install rules are unchanged, and the plugin shop's catalog.json is fetched from
the Gitea repository at runtime rather than shipped. The plugin loop already
picks up both providers. doc/ is installed next to the README since it covers
installation, the interface, the plugin shop and troubleshooting, which is what
someone reaches for when a package source reports itself unavailable.

A prepare() now realigns the source's version file on pkgver. Upstream's file
lags the release: it read 1.4.1 in both the 1.4.2 and the 1.4.3 delivery. CMake
compiles that value into the binary and UpdateManager compares it to the Gitea
releases, so leaving it stale would have offered an already installed release
for ever, and pacman would have disagreed with the app's own about box. The
tarball stays a faithful copy of what upstream delivered and the correction
sits in one visible place. It should be fixed in FWS-PacManage so this can go.

Both plugin sources compile. The full build needs Qt6, absent here.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-18 09:33:07 +02:00
nocode 10fe1df690 feat(iso): ship gparted in the live image
The live medium had parted, gptfdisk and fatresize but nothing graphical. A
disk that will not take an automatic partitioning is the one case where
someone needs to look at the table before deciding, and telling a newcomer to
do that in parted is telling them to give up. Wiping a drive and recreating a
clean GPT is also the state an installer works best from.

Also here: __pycache__/ is ignored. Running fws-drivers from its directory
leaves bytecode next to it inside airootfs, and airootfs is copied wholesale
into the image, so it would otherwise be both committed and shipped.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-18 09:33:07 +02:00
nocode a1aaf80a14 feat(hardware): install what the machine needs, offer the rest on a click
The installer used to put in every detected group, comfort included. Codecs,
Steam, Wine, Proton, MangoHud and the VR stack are several gigabytes, and they
were downloaded during an unattended %post by people who had never asked for
them. On a slow connection that is the difference between an install that ends
and one that seems stuck.

A new --unattended mode draws the line. It is the installer's mode: it runs
with nobody in front of the screen, so it installs only what the machine does
not work without, which is drivers, sound, Wi-Fi, Bluetooth, brightness,
printing, containers and VM guest tools. The three on-demand groups, codecs,
gaming and vr, stay out of it.

They are not dropped, they are offered. "Pilotes et matériel" opens at first
boot and its simple install calls --all, which takes them. Same detection, same
script, same groups: the mode decides, so there is no second list to keep in
sync. The window's own wording now says plainly that this means several
gigabytes and a while depending on the connection.

The hardware-done marker follows the same rule. It is no longer written when
on-demand groups are still pending, because that marker is exactly what stops
the window from opening. Writing it would have installed the essentials and
then silently swallowed the offer.

Printing is now detected rather than assumed. It used to be enabled on any
machine with a desktop, which put several hundred megabytes of foomatic and
gutenprint on every laptop that has no printer. Three real signals are read
instead: a USB interface of class 07, a parallel port, or an existing CUPS
queue. A printer plugged in later is not lost, since the group stays offered
unticked in the advanced install, which can be reopened at any time. Note that
the parallel port is read from /sys/class/parport and not /dev/lp*: devtmpfs
creates lp0 through lp3 unconditionally, so the old path would have claimed a
printer on absolutely every machine.

Two checks were added where a success was being reported that did not exist.

pacman can exit 0 while a DKMS module was never built: the dkms hook runs after
unpacking, and a compile failure does not necessarily invalidate the
transaction. That is precisely the "NVIDIA driver installed but missing"
scenario, where nvidia-utils is present and the kernel module is not. dkms
status is now read and each unbuilt module is named.

A loaded module proves nothing about rendering either. The Vulkan loader still
has to find an ICD and manage to open it, and llvmpipe alone means software
rendering: it works, on the CPU, with a desktop that crawls and no playable
game and not one error message anywhere. That case is now called out. The test
is skipped rather than failed when it cannot conclude, which is when no module
is loaded or /dev/dri is absent, as in the installer chroot. OpenGL is only
reported on success, glxinfo requiring an open display it does not have under
pkexec or in a %post.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-18 09:33:07 +02:00
nocode 01dc6257ce feat(hardware): Wi-Fi on Broadcom laptops, driver carried in the image
linux-firmware covers Intel, Atheros, Realtek and the Broadcom FullMAC parts.
What it does not cover is Broadcom SoftMAC, BCM4311 through BCM4360, which only
the proprietary wl driver drives: neither b43 nor brcmsmac handles them. Those
laptops finished the install with no Wi-Fi at all, and therefore no way to
download the missing driver. The failure feeds itself.

Detection is factual rather than a PCI ID table. Such tables age badly, and
Broadcom reuses IDs across its SoftMAC and FullMAC families. The reliable
signal is that a Broadcom controller is present and the kernel produced no
wireless interface at all. The live medium runs the same kernel on the same
hardware as the target, so what is observed here holds for the installed
system.

broadcom-wl-dkms comes from the AUR, so no repository will serve it on the
target machine. build.sh drops it into the image the way it already does for
PacManager, and fws-setup-hardware installs it with pacman -U only when it sees
a mute Broadcom, then deletes the file.

It is deliberately absent from packages.x86_64. The package blacklists b43,
bcma, ssb and brcmsmac system-wide, so installing it on a machine that does
not need it would cut the Wi-Fi of the machines those very modules make work.

setup-aur.sh gains a no-install list for the same reason. build_or_skip
normally installs each package so AUR to AUR dependency chains resolve, but
this one has no dependents here and installing it would be actively harmful:
it compiles a DKMS module against the build environment's kernel, which is
pointless since the module is rebuilt on the target and fatal under set -e on
an image without linux-headers, and it drops the blacklist. On a native Arch
or WSL run that means the build machine's own Wi-Fi goes down. It is built,
published, and left alone.

The verification pass now reports on Wi-Fi: interface present, radio
unblocked, or a controller with no interface at all, which is named so the
user knows what is missing rather than assuming the card is dead.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-18 09:33:01 +02:00
nocode 909611e710 docs(release): changelog for Intel RST and PacManager 1.4.1
Three entries added to the 0.8.1 section, which is not tagged yet: Intel RST
support and the installer screen under Added, the PacManager version bump
under Changed. 288 bullets before, 291 after.

The section date moves from 11 to 14 September, its content having grown since.

Signed-off-by: nocode <suzuku295@gmail.com>
2026-09-14 10:58:00 +02:00
nocode b86eb31124 feat(pacmanage): PacManager 1.4.1, with the AUR source
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>
2026-09-14 10:57:59 +02:00
nocode d82e4eac22 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 2fea95b672 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 b2fdd65c6e 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 ca94fde8ea 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