Commit Graph
358 Commits
Author SHA1 Message Date
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
BlackAngelTVandCodebuff 4a72ac26a7 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 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 a72af8f077 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 5aef91e7cc 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 5eb42c5ec3 Ajouter AGENTS.md 2026-09-04 12:22:12 +00:00
BlackAngelTV 58af4d3ddf Ajouter AGENTS.md 2026-09-04 12:22:12 +00:00
BlackAngelTV 2897a8d876 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 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
BlackAngelTV ec882afddf 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 bdfc231a2b 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 7495fec712 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 1bd203d52f 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 7ffda15944 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 c6595e1563 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 7f603979cc 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 0022186f2f 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 d024df2bae docs(trademarks): update fws version number from 0.6 to 0.7 2026-09-03 21:37:10 +02:00
BlackAngelTV bbc5cb10a1 docs(trademarks): update fws version number from 0.6 to 0.7 2026-09-03 21:37:10 +02:00
BlackAngelTV b29355850e docs(licensing): update fws version from 0.6 to 0.7 in installation header example 2026-09-03 21:37:10 +02:00
BlackAngelTV 02deda68c5 docs(licensing): update fws version from 0.6 to 0.7 in installation header example 2026-09-03 21:37:10 +02:00
BlackAngelTV aa4f32a9b4 docs(changelog): add 0.7.0 release notes (network screen, dualboot GRUB, setup-aur) 2026-09-03 21:37:10 +02:00
BlackAngelTV 7d53451900 docs(changelog): add 0.7.0 release notes (network screen, dualboot GRUB, setup-aur) 2026-09-03 21:37:10 +02:00
BlackAngelTV fb105093f5 docs(readme): describe simple network picker and dualboot GRUB hardening 2026-09-03 21:37:09 +02:00
BlackAngelTV 064366edba docs(readme): describe simple network picker and dualboot GRUB hardening 2026-09-03 21:37:09 +02:00
BlackAngelTV 51235ca5ac 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 9172f5d68d 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 e3ac8833a5 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 fcf50528a0 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 5661fb08dc fix(autoinstall): desktop install 2026-08-26 19:46:11 +02:00
nocode 7730ac7b00 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 bee59a2fb3 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 00d34dfc49 merge(Multi-Desktop)!: Add Multi DE on the installer 2026-07-07 21:04:19 +02:00
nocode 53ceeabcfb Merge branch 'Main' into Multi-Desktop 2026-07-07 18:48:21 +00:00
nocode 335b59ceca Merge branch 'Multi-Desktop' into Main 0.6.0 2026-07-07 20:46:57 +02:00
nocode ac810f2ee3 docs(trademarks): correct fws version number from 1.0 to 0.6 2026-07-07 13:57:22 +02:00
nocode 5592c57642 docs(readme): update fws version from 1.0 to 0.6 in installation header 2026-07-07 13:57:17 +02:00
nocode 8f6b8e7a95 docs(licensing): update fws version from 1.0 to 0.6 in installation header example 2026-07-07 13:57:12 +02:00
nocode 1826dbfead docs(changelog): update fws version from 1.0 to 0.6 2026-07-07 13:57:08 +02:00
nocode b7bf497cd6 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 ae70926ed1 chore(release): bump version to 0.6.0 2026-07-07 13:56:58 +02:00
nocode aac3c8b59e chore(.xinitrc): update anaconda default product version to 0.6 2026-07-07 13:56:54 +02:00
nocode 260547f6b6 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 730cfd697c chore: bump version to 0.6.0 2026-07-07 02:53:18 +02:00
nocode 292e3071c6 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 8a90ef4794 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 9c7f9b46c5 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 bf8b29c975 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
nocode 9c9891d98e docs(licensing): mark anaconda branding removal as completed and update date
Update the Anaconda branding removal checklist item from incomplete to completed, documenting the implementation details:
- Product name changed to FWS via ANACONDA_PRODUCTNAME and ANACONDA_PRODUCTVERSION variables
- Variables exported by live .xinitrc and read from FWS os-release
- Installation header displays "FWS 1.0 INSTALLATION"
- BIOS boot menu visual replaced with FWS splash screen
- Modified Anaconda version documented in LICENSING.md and TRADEMARKS.md

Also update the compliance date from 2026-06-17 to 2026-07-07.
2026-07-07 02:48:09 +02:00
nocode de05361b28 feat(releng): add polkit policy for fws-recovery privileged operations
Add PolicyKit authorization policy file to allow fws-recovery-gui to execute fws-recovery engine via pkexec with administrative privileges. The policy uses auth_admin_keep to require authentication only once per session.
2026-07-07 02:48:03 +02:00