feat: add gaming script installation to user desktop

- Copy install_gaming.sh to user 1000 desktop during post-install
- Make gaming script executable automatically
- Replace old nvidia script references with gaming setup

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
lapatatedouce
2025-07-26 18:01:03 +02:00
parent d4d133f4ac
commit 9aaa56b50e
2 changed files with 2145 additions and 3 deletions

View File

@@ -93,9 +93,8 @@ d-i preseed/late_command string \
in-target sh -c "for u in \$(awk -F: '\$3 == 1000 { print \$1 }' /etc/passwd); do chsh -s /usr/bin/fish \$u 2>/dev/null; done" ; \
in-target dpkg --add-architecture i386 ; \
in-target apt-get update ; \
# cp /cdrom/preseeds/late_custom_nvidia.sh /target/root/late_custom_nvidia.sh ; \
# chmod +x /target/root/late_custom_nvidia.sh ; \
# in-target bash /root/late_custom_nvidia.sh
cp /cdrom/preseeds/install_gaming.sh /target/home/\$(awk -F: '\$3 == 1000 { print \$1; exit }' /target/etc/passwd)/Desktop/install_gaming.sh ; \
chmod +x /target/home/\$(awk -F: '\$3 == 1000 { print \$1; exit }' /target/etc/passwd)/Desktop/install_gaming.sh ; \
# Finalisation : redémarrage automatique
d-i finish-install/reboot_in_progress note

File diff suppressed because it is too large Load Diff