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:
@@ -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
|
||||
Reference in New Issue
Block a user