refactor: simplify preseed configuration and nvidia setup

- Remove development packages (clang, lld, llvm, libdw-dev, dkms) from default installation
- Delete late_custom_amd.sh script as it's no longer needed
- Simplify late_custom_nvidia.sh to focus only on CUDA and nvidia-open installation
- Comment out nvidia script execution in preseed for optional manual use

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
lapatatedouce
2025-07-26 00:04:37 +02:00
parent eb10cc0058
commit a0b0727ab3
3 changed files with 17 additions and 90 deletions

View File

@@ -51,11 +51,6 @@ d-i pkgsel/include string \
ffmpeg \
libavcodec-extra \
libavformat-extra \
clang \
lld \
llvm \
libdw-dev \
dkms \
spice-vdagent \
cmatrix
@@ -77,11 +72,6 @@ d-i pkgsel/include string \
# ffmpeg: Codecs audio/vidéo
# libavcodec-extra: Codecs supplémentaires
# libavformat-extra: Formats multimédias supplémentaires
# clang: Compilateur C/C++
# lld: Linker LLVM
# llvm: Infrastructure compilateur
# libdw-dev: Libs développement DWARF
# dkms: Support modules kernel dynamiques
# spice-vdagent: Agent SPICE pour machine virtuelle
# cmatrix: Effet Matrix dans terminal
@@ -108,9 +98,9 @@ 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_amd.sh /target/root/late_custom_amd.sh ; \
chmod +x /target/root/late_custom_amd.sh ; \
in-target bash /root/late_custom_amd.sh
# 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
# Finalisation : redémarrage automatique
d-i finish-install/reboot_in_progress note