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>
48 lines
2.0 KiB
Bash
48 lines
2.0 KiB
Bash
#!/usr/bin/env bash
|
|
# shellcheck disable=SC2034
|
|
|
|
iso_name="FWS"
|
|
iso_label="FWS_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
|
|
iso_publisher="FWS <https://gitea.nocode-var.tech/FWS/FWS-ISO>"
|
|
iso_application="Linux made simple, without giving up its power"
|
|
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
|
|
install_dir="fws"
|
|
buildmodes=('iso')
|
|
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito')
|
|
arch="x86_64"
|
|
pacman_conf="pacman.conf"
|
|
airootfs_image_type="squashfs"
|
|
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
|
|
bootstrap_tarball_compression=(xz -9e)
|
|
# NB : ce profiledef.sh ÉCRASE celui de configs/releng/ lors de la fusion du
|
|
# build (baseline prioritaire). Il doit donc être un SUR-ENSEMBLE des
|
|
# permissions de releng, sinon les helpers live perdent leur bit exécutable
|
|
# (ils sont versionnés en 0644) et /root/.gnupg perd son 0700 (gpg refuse).
|
|
file_permissions=(
|
|
["/etc/shadow"]="0:0:400"
|
|
["/root"]="0:0:750"
|
|
["/root/.automated_script.sh"]="0:0:755"
|
|
["/root/.gnupg"]="0:0:700"
|
|
["/usr/local/bin/choose-mirror"]="0:0:755"
|
|
["/usr/local/bin/Installation_guide"]="0:0:755"
|
|
["/usr/local/bin/livecd-sound"]="0:0:755"
|
|
["/usr/bin/load_policy"]="0:0:755"
|
|
["/usr/bin/setstatus"]="0:0:755"
|
|
["/usr/local/bin/fws-setup-hardware"]="0:0:755"
|
|
["/usr/local/bin/fws-drivers"]="0:0:755"
|
|
["/usr/local/bin/fws-grub-finalize"]="0:0:755"
|
|
["/usr/local/bin/fws-keys"]="0:0:755"
|
|
["/usr/local/bin/fws-vr-setup"]="0:0:755"
|
|
["/usr/local/bin/fws-hello"]="0:0:755"
|
|
["/usr/local/bin/fws-update"]="0:0:755"
|
|
["/usr/local/bin/fws-updates-check"]="0:0:755"
|
|
["/usr/local/bin/fws-proton-ge"]="0:0:755"
|
|
["/usr/local/bin/fws-recovery"]="0:0:755"
|
|
["/usr/local/bin/fws-recovery-session"]="0:0:755"
|
|
["/usr/local/bin/fws-recovery-gui"]="0:0:755"
|
|
["/usr/local/bin/fws-powermenu"]="0:0:755"
|
|
["/usr/local/bin/fws-about"]="0:0:755"
|
|
["/usr/local/bin/fws-bugreport"]="0:0:755"
|
|
["/etc/grub.d/42_fws-recovery"]="0:0:755"
|
|
)
|