Ajout dépôts Flathub officiels et suppression Konqueror
- 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
This commit is contained in:
@@ -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 debian-installer/locale string fr_CH.UTF-8
|
||||||
d-i preseed/early_command string debconf-set-selections /tmp/preseed.cfg
|
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/modelcode string pc105
|
||||||
d-i keyboard-configuration/variantcode string fr
|
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/choose_interface select auto
|
||||||
d-i netcfg/get_hostname string skylanix
|
d-i netcfg/get_hostname string skylanix
|
||||||
d-i netcfg/get_hostname seen false
|
d-i netcfg/get_hostname seen false
|
||||||
d-i netcfg/get_domain string unassigned-domain
|
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
|
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/method string
|
||||||
d-i partman-auto/choose_recipe select
|
d-i partman-auto/choose_recipe select
|
||||||
d-i partman-partitioning/confirm_write_new_label boolean false
|
d-i partman-partitioning/confirm_write_new_label boolean false
|
||||||
d-i partman/confirm boolean false
|
d-i partman/confirm boolean false
|
||||||
d-i partman/confirm_nooverwrite 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 clock-setup/utc boolean true
|
||||||
d-i time/zone string Europe/Zurich
|
d-i time/zone string Europe/Zurich
|
||||||
d-i time/zone seen false
|
d-i time/zone seen false
|
||||||
d-i clock-setup/ntp boolean true
|
d-i clock-setup/ntp boolean true
|
||||||
d-i clock-setup/ntp seen false
|
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
|
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 boolean true
|
||||||
d-i apt-setup/non-free-firmware 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
|
tasksel tasksel/first multiselect minimal
|
||||||
|
|
||||||
# Paquets additionnels à installer
|
# Paquets essentiels Skylanix : environnement KDE Plasma et outils système
|
||||||
d-i pkgsel/include string \
|
d-i pkgsel/include string \
|
||||||
kde-plasma-desktop \
|
kde-plasma-desktop \
|
||||||
vim \
|
vim \
|
||||||
@@ -47,23 +48,27 @@ d-i pkgsel/include string \
|
|||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
htop \
|
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 \
|
d-i preseed/late_command string \
|
||||||
in-target mkdir -p /etc/apt/keyrings ; \
|
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 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 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 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
|
# Finalisation : redémarrage automatique
|
||||||
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
|
d-i finish-install/reboot_in_progress note
|
||||||
Reference in New Issue
Block a user