feat(systemd): add fws-recovery.target unit

Add new systemd target unit for FWS system recovery mode. This target is invoked via GRUB boot menu entry "Reparer FWS" and provides a multi-user environment with network access plus recovery session. The service includes proper dependency management to ensure getty@tty1 is properly handled.
This commit is contained in:
2026-07-07 02:47:30 +02:00
parent d00bcd4144
commit f3feff4dc2
@@ -0,0 +1,10 @@
[Unit]
Description=FWS - Cible de reparation du systeme
# Demandee par l'entree GRUB « Reparer FWS » du systeme installe
# (kernel : systemd.unit=fws-recovery.target fws.recovery=1).
# Un multi-user complet (reseau pour pacman -Syu) + la session de reparation ;
# le Conflicts du service libere tty1 (son start est REQUIS ici, il gagne
# contre le Wants de getty@tty1).
Requires=multi-user.target fws-recovery-boot.service
After=multi-user.target fws-recovery-boot.service
AllowIsolate=yes