Upstream Anaconda lets the user screen be left empty, which would
install a system whose login screen nobody can get past, since root is
meant for repairs only. Going back to pick another language also kept
the first language's keyboard: with the keyboard screen hidden, the
layouts now always come from the language.
Menu entries, the SDDM theme and polkit policies are read by programs
that know nothing of the FWS catalogs: every language is written into
them at build time, and each program picks its user's language.
Each text is added to anaconda.mo only when Anaconda has no translation
or a copy of the English text: its own translations always win. One
catalog serves both the Python code and GtkBuilder, so the .mo is
rewritten rather than a second domain added.
Several languages get parts of Anaconda's screens in English (Bulgarian
lacks most of the root account screen). These fill the gaps of the
screens FWS shows.
It loads every text of the given namespaces with a single fws-i18n call
instead of starting Python for each message, and accepts translated
yes/no answers.
The FWS tools of the installed system need the same lookup as the
installer screens, but must not depend on Anaconda's folder: its path
follows Python's version and Anaconda can be removed after installing.
The language now follows gettext's order of variables, and
/etc/locale.conf for the tools started through sudo.
The installed system is a copy of the live: with [fws] declared here, the
FWS packages are updated by pacman like any other. The repository is
unsigned, so it keeps the "Optional TrustAll" level of the build profiles.
Nothing reads the documentation at runtime, and the live never loads the
/boot microcode images; the installed system gets its microcode from
/usr/lib/firmware through mkinitcpio.
The image is built once and booted everywhere: xz over decompressed
modules shares one dictionary across the archive and saves about 9 MiB
over per-module zstd. The installer removes this file from the target.
systemd-boot needed its own copy of the kernel and initramfs in the EFI
partition; GRUB reads them straight from the ISO 9660 file system.
fws-i18n is also made executable in the image.
A locale that is not generated makes Anaconda fall back to English on
every screen. /etc/locale.gen keeps its short list, so the installed
system only gets the chosen language.
t() reads $LANG on every call, where Anaconda stores the language picked
on the first screen: a screen that sets its texts each time it is shown
follows a language changed by going back. A missing key or a broken file
shows the key instead of taking the installer down.
Anaconda translates its own screens through gettext, but the FWS screens,
progress steps and end-of-install dialogs are in none of its catalogs.
They now live in one TOML file, one table per message and one entry per
language, with English required as the fallback.
FWS packages were only reachable through the [fws-local] repository that
build-offi.sh injects after a local setup-aur.sh run. Declaring
repo.laxacube.ch as [fws] in the baseline and releng profiles makes them
available to any build.
The packages are not signed, so [fws] keeps the "Optional TrustAll" level
already used by [fws-local], and RemoteFileSigLevel is lowered so that
"pacman -U <url>" accepts them as well.
The progress screen says what phase is running, but when the bar stops
the user cannot tell a slow mirror from a crash without switching to a
console. A "Afficher le journal" toggle under the bar now reveals a live
tail of the FWS logs: the %pre and %post --nochroot logs on the live, and
the chrooted %post log on the target, which is where the CRITIQUE lines
about the EFI partition and the initramfs are written.
The upstream spoke is overlaid like the runtime module already is, since
an airootfs file on a package path breaks the pacstrap.
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.
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.
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.
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.
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.
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.
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.
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-*.
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>
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>
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>
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>
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>