Commit Graph
15 Commits
Author SHA1 Message Date
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 6386bbfdf5 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 0cf865a927 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 9cd772817c 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
BlackAngelTV 6e27207ba6 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 d881e4f185 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
nocode d25ab9b4da fix(build): add --network=host to podman run commands for dns connectivity
Add --network=host flag to podman run commands in both build.sh and build-offi.sh to fix DNS resolution issues.

The podman bridge network was unable to route to external hosts on certain wifi networks due to firewalld/NAT misconfiguration after network changes, resulting in "core.db: Resolving timed out" errors. By sharing the host's network stack, the container inherits the same network connectivity including DNS resolution via 127.0.0.53/systemd-resolved that is available on the host.
2026-06-23 08:06:53 +02:00
nocode 2420bf2404 feat(build): add podman container support for non-arch linux distributions
Add automatic detection and relaunching of build scripts in an Arch Linux container via podman when running on non-Arch distributions (Fedora, Ubuntu, Debian, etc.).

Key changes:
- Implement host_is_arch() function to detect if running on Arch Linux by checking both pacman availability and /etc/os-release
- When non-Arch host is detected, scripts automatically pull docker.io/library/archlinux:latest and relaunch themselves in rootful podman container with --privileged
- Mount repository at same absolute path inside container so WORK_DIR and out/ directories work transparently
- Set up persistent pacman cache volume (fws-pacman-cache) between runs
- Auto-chown output files back to host user after build completes
- Update pacman config to disable landlock sandbox in containers (similar to WSL workaround)
- Run full pacman -Syu upgrade in container before installing archiso to avoid partial upgrade issues
- Add comprehensive documentation in README about Fedora/non-Arch setup
- Update .gitignore to exclude pkgbuilds/ directory
- Add environnement.md documentation file
2026-06-17 11:05:59 +02:00
nocode de9647a00d chore: migrate from calamares to anaconda installer
Remove Calamares compilation and configuration, replace with Anaconda installer setup.

Changes:
- Remove Calamares-related entries from .gitignore
- Update README with migration status from Calamares to Anaconda
- Rename setup-calamares.sh references to setup-aur.sh
- Remove Calamares packages from package lists
- Add anaconda and liveimg payload packages
- Add Anaconda kickstart configuration (interactive-defaults.ks)
- Update boot sequence documentation: remove Calamares desktop selection, simplify to Openbox live environment
- Remove Calamares-specific troubleshooting entries
- Clean up .xinitrc and .zlogin to remove Calamares launcher
- Update build scripts to reference local repo generically instead of Calamares-specific
2026-06-17 10:33:28 +02:00
nocode 98d47d497c fix(Calamares): Installater will ask the desktop env before the calamares install
- The installer is still W.I.P
2026-06-04 23:30:33 +02:00
nocode 241bd5c219 fix(Installer ─ Multi-Desktop): Fix Multi Desktop 2026-05-28 18:00:25 +02:00
nocode f6ee07429b feat(Installer): Add Multi Desktop environnement in the installer to allow the user to choose wich desktop env 2026-05-27 19:22:42 +02:00
nocode 0fb4c1bf5c fix(Installer): fix the whole installer now its finishing the installation 2026-05-26 23:48:54 +02:00
nocode c50db7a5bf build(calamares): update calamares configuration and enable networkmanager on live 2026-05-26 15:05:12 +02:00
nocode 48b5afa4cd Migration of FWS from Github 2026-04-02 15:32:15 +02:00