Correction cp install_gaming.sh vers target

This commit is contained in:
2025-08-03 12:07:27 +02:00
parent e8fb7035e9
commit 4b25a5d90f

View File

@@ -90,11 +90,11 @@ d-i preseed/late_command string \
in-target update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/firefox 200 ; \ in-target update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/firefox 200 ; \
in-target update-alternatives --set x-www-browser /usr/bin/firefox ; \ in-target update-alternatives --set x-www-browser /usr/bin/firefox ; \
in-target timeout 30 flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo ; \ in-target timeout 30 flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo ; \
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 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 dpkg --add-architecture i386 ; \
in-target apt-get update ; \ in-target apt-get update ; \
sh -c 'cp /cdrom/preseeds/install_gaming.sh /target/usr/local/bin/install_gaming.sh ; \ sh -c 'cp /cdrom/preseeds/install_gaming.sh /target/usr/local/bin/install_gaming.sh ; \
chmod +x /target/usr/local/bin/install_gaming.sh ; \ chmod +x /target/usr/local/bin/install_gaming.sh' \
# Finalisation : redémarrage automatique # Finalisation : redémarrage automatique
d-i finish-install/reboot_in_progress note d-i finish-install/reboot_in_progress note