The official build still injected the local-repo, so it no longer built
the same image as build.sh. It now takes the FWS packages from [fws],
stops when the profile's repositories cannot be read, and checks the
installer translations first.
A broken translations file only shows once the ISO boots. The checker
makes sure every message has English, that each language keeps the same
placeholders, and that no key used by the code is missing.
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.
The build takes these packages from the [fws] repository and no longer
reads this tree. It also carried makepkg output (pkg/ directories,
__pycache__) that should never have been versioned.
A build no longer needs a prior setup-aur.sh run nor a local-repo
directory: mkarchiso resolves the FWS packages through the [fws]
repository declared in the profile, and the build stops early when its
database cannot be read.
The pre-flight check derives what [fws] must provide from what [core] and
[extra] do not, so it no longer depends on a packaging tree. The Broadcom
driver is checked against the SHA-256 of the database, the only integrity
check an unsigned repository gives.
The [fws] repository is shared with other FWS projects (fws-deskmanager,
fws-kitty…): a database rebuilt from local-repo alone would drop their
packages once uploaded. The script starts from the online database, adds
our packages without downgrading a newer published version, and stops
when that database cannot be read. Uploading stays manual.
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 installer progress screen can now tail the FWS logs live, so a
stalled progress bar can be told apart from a slow mirror without
switching to a console.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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".
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.
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.
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.
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.
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.
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>
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>