fix: Correction chemins target et ajout installation XanMod

- Correction chemins /cdrom vers /target pour XanMod
- Ajout création dossier /target/etc/apt/sources.list.d
- Correction syntaxe point-virgule manquant
- Amélioration interface install_gaming.sh

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-03 13:53:42 +02:00
parent 8ac8a9cead
commit d72fca0427
2 changed files with 24 additions and 18 deletions

View File

@@ -78,7 +78,7 @@ d-i grub-installer/with_other_os boolean true
# Détection automatique du périphérique d'installation GRUB
d-i grub-installer/bootdev string default
# Configuration post-installation : suppression navigateurs par défaut et installation Firefox Mozilla ainsi que fish
# Configuration post-installation : suppression navigateurs par défaut, installation Firefox Mozilla, kernel XanMod et configuration système
d-i preseed/late_command string \
in-target apt-get remove --purge -y firefox-esr konqueror ; \
in-target mkdir -p /etc/apt/keyrings ; \
@@ -96,7 +96,13 @@ d-i preseed/late_command string \
sh -c 'cp /cdrom/preseeds/install_gaming.sh /target/usr/bin/install_gaming.sh ; \
chmod +x /target/usr/bin/install_gaming.sh' ; \
sh -c 'cp "/cdrom/preseeds/Debian Gaming Deployment Tool.desktop" /target/usr/share/applications/ ; \
chmod 644 /target/usr/share/applications/"Debian Gaming Deployment Tool.desktop"' \
chmod 644 /target/usr/share/applications/"Debian Gaming Deployment Tool.desktop"' ; \
sh -c 'mkdir -p /target/etc/apt/keyrings' ; \
sh -c 'mkdir -p /target/etc/apt/sources.list.d' ; \
sh -c 'wget -qO /target/etc/apt/keyrings/xanmod-archive-keyring.gpg https://dl.xanmod.org/archive.key' ; \
sh -c 'echo "deb [signed-by=/etc/apt/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org trixie main" > /target/etc/apt/sources.list.d/xanmod.list' ; \
in-target apt-get update ; \
in-target apt-get install -y linux-xanmod-x64v3 ;
# Finalisation : redémarrage automatique
d-i finish-install/reboot_in_progress note

View File

@@ -416,22 +416,22 @@ show_unified_selection() {
--extra-button="Désinstaller" \
--cancel-label="Annuler" \
--separator="|" \
FALSE "nvidia" "💻 APT" "NVIDIA + CUDA - Pilotes graphiques professionnels" \
FALSE "flatpak" "📦 APT" "Flatpak + Flathub - Gestionnaire d'applications universelles" \
FALSE "steam" "🎮 APT" "Steam - Plateforme de jeux numériques Valve" \
FALSE "heroic" "🎮 GitHub" "Heroic Game Launcher - Client Epic Games et GOG" \
FALSE "lutris" "🎮 APT" "Lutris - Gestionnaire de bibliothèque de jeux" \
FALSE "retroarch" "🕹️ Flatpak" "RetroArch - Plateforme d'émulation multi-systèmes" \
FALSE "utils" "APT" "Utilitaires gaming - Monitoring des performances (FPS, CPU, GPU)" \
FALSE "protonup" "🔄 Flatpak" "ProtonUp-Qt - Gestionnaire de versions Proton" \
FALSE "wine" "🍷 APT" "Wine + Winetricks - Couche de compatibilité Windows" \
FALSE "bottles" "🍷 Flatpak" "Bottles - Gestionnaire Wine moderne" \
FALSE "discord" "💬 Flatpak" "Discord - Plateforme de communication gaming" \
FALSE "vesktop" "💬 Flatpak" "Vesktop - Client Discord alternatif" \
FALSE "teamspeak" "💬 Flatpak" "TeamSpeak - Communication vocale" \
FALSE "mumble" "💬 APT" "Mumble - Communication vocale libre" \
FALSE "flatseal" "🔧 Flatpak" "Flatseal - Gestionnaire permissions Flatpak" \
FALSE "gearlever" "📦 Flatpak" "Gear Lever - Gestionnaire AppImage"
FALSE "nvidia" "APT" "💻 NVIDIA + CUDA - Pilotes graphiques professionnels" \
FALSE "flatpak" "APT" "📦 Flatpak + Flathub - Gestionnaire d'applications universelles" \
FALSE "steam" "APT" "🎮 Steam - Plateforme de jeux numériques Valve" \
FALSE "heroic" "GitHub" "🎮 Heroic Game Launcher - Client Epic Games et GOG" \
FALSE "lutris" "APT" "🎮 Lutris - Gestionnaire de bibliothèque de jeux" \
FALSE "retroarch" "Flatpak" "🕹️ RetroArch - Plateforme d'émulation multi-systèmes" \
FALSE "utils" "APT" "Utilitaires gaming - Monitoring des performances (FPS, CPU, GPU)" \
FALSE "protonup" "Flatpak" "🔄 ProtonUp-Qt - Gestionnaire de versions Proton" \
FALSE "wine" "APT" "🍷 Wine + Winetricks - Couche de compatibilité Windows" \
FALSE "bottles" "Flatpak" "🍷 Bottles - Gestionnaire Wine moderne" \
FALSE "discord" "Flatpak" "💬 Discord - Plateforme de communication gaming" \
FALSE "vesktop" "Flatpak" "💬 Vesktop - Client Discord alternatif" \
FALSE "teamspeak" "Flatpak" "💬 TeamSpeak - Communication vocale" \
FALSE "mumble" "APT" "💬 Mumble - Communication vocale libre" \
FALSE "flatseal" "Flatpak" "🔧 Flatseal - Gestionnaire permissions Flatpak" \
FALSE "gearlever" "Flatpak" "📦 Gear Lever - Gestionnaire AppImage"
}