From 1112bac3d0ea4317f82ab56ccacc4591ef03e724 Mon Sep 17 00:00:00 2001 From: Philippe Favre Date: Thu, 17 Jul 2025 03:48:09 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20d=C3=A9p=C3=B4ts=20Flathub=20officiels?= =?UTF-8?q?=20et=20suppression=20Konqueror?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Intégration automatique des dépôts Flathub lors de l'installation - Suppression de Konqueror du système par défaut - Mise à jour des commandes post-installation --- files_to_inject/preseeds/default.preseed | 51 +++++++++++++----------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/files_to_inject/preseeds/default.preseed b/files_to_inject/preseeds/default.preseed index 6336b4f..f329648 100755 --- a/files_to_inject/preseeds/default.preseed +++ b/files_to_inject/preseeds/default.preseed @@ -1,45 +1,46 @@ -# Configuration de la langue et de la localisation +# Configuration Skylanix - Preseed pour installation automatisée Debian +# Locale et langue par défaut : français suisse d-i debian-installer/locale string fr_CH.UTF-8 d-i preseed/early_command string debconf-set-selections /tmp/preseed.cfg -# Configuration du clavier +# Configuration du clavier suisse français d-i keyboard-configuration/modelcode string pc105 d-i keyboard-configuration/variantcode string fr -# Configuration réseau (choix automatique de la première interface active) +# Configuration réseau automatique d-i netcfg/choose_interface select auto d-i netcfg/get_hostname string skylanix d-i netcfg/get_hostname seen false d-i netcfg/get_domain string unassigned-domain -# Désactivation du compte root +# Sécurité : désactivation du compte root (utilisation de sudo) d-i passwd/root-login boolean false -# Partitionnement manuel (sans partitionnement automatique) +# Partitionnement : manuel uniquement (pas de partitionnement automatique) d-i partman-auto/method string d-i partman-auto/choose_recipe select d-i partman-partitioning/confirm_write_new_label boolean false d-i partman/confirm boolean false d-i partman/confirm_nooverwrite boolean false -# Configuration de l'horloge système +# Configuration temporelle : UTC et fuseau horaire suisse d-i clock-setup/utc boolean true d-i time/zone string Europe/Zurich d-i time/zone seen false d-i clock-setup/ntp boolean true d-i clock-setup/ntp seen false -# Configuration APT : ne pas utiliser en priorité le CD-ROM comme source +# Configuration APT : priorité aux dépôts réseau plutôt qu'au CD-ROM d-i apt-setup/cdrom/set-first boolean false -# Activation des dépôts non-free et non-free-firmware +# Activation des dépôts non-free pour les pilotes propriétaires d-i apt-setup/non-free boolean true d-i apt-setup/non-free-firmware boolean true -# Sélection des tâches à installer +# Installation minimale de base tasksel tasksel/first multiselect minimal -# Paquets additionnels à installer +# Paquets essentiels Skylanix : environnement KDE Plasma et outils système d-i pkgsel/include string \ kde-plasma-desktop \ vim \ @@ -47,23 +48,27 @@ d-i pkgsel/include string \ curl \ git \ htop \ - network-manager \ - spice-vdagent + spice-vdagent \ + flatpak \ + fish -# Ajout du dépôt XanMod et installation du kernel +# Installation GRUB avec support multi-OS +d-i grub-installer/only_debian boolean true +d-i grub-installer/with_other_os boolean true + +# Choix manuel du périphérique d'installation GRUB +d-i grub-installer/bootdev seen false + +# Configuration post-installation : kernel XanMod, shell Fish, dépôts Flathub et suppression Konqueror d-i preseed/late_command string \ in-target mkdir -p /etc/apt/keyrings ; \ in-target wget -qO /etc/apt/keyrings/xanmod-archive-keyring.gpg https://dl.xanmod.org/archive.key ; \ in-target sh -c "echo 'deb [signed-by=/etc/apt/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org trixie main' > /etc/apt/sources.list.d/xanmod.list" ; \ in-target apt-get update ; \ - in-target apt-get install -y linux-xanmod-x64v3 + in-target apt-get install -y linux-xanmod-x64v3 || true ; \ + in-target flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo ; \ + in-target apt-get remove --purge -y konqueror || true ; \ + in-target bash -c "for u in \$(awk -F: '\$3 >= 1000 && \$3 < 65534 { print \$1 }' /etc/passwd); do chsh -s /usr/bin/fish \$u; done" -# Installation de GRUB -d-i grub-installer/only_debian boolean true -d-i grub-installer/with_other_os boolean true - -# Demander à l'utilisateur de choisir où installer GRUB -d-i grub-installer/bootdev seen false - -# Message indiquant que le redémarrage est en cours -d-i finish-install/reboot_in_progress note +# Finalisation : redémarrage automatique +d-i finish-install/reboot_in_progress note \ No newline at end of file