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