From 7dd0d6bfdfc46d7e0a5c86f6e30cb9bf8dd1aa64 Mon Sep 17 00:00:00 2001 From: Puechberty Arthur Date: Thu, 30 Jul 2026 17:44:20 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20d'une=20mise=20=C3=A0=20jour=20compl?= =?UTF-8?q?=C3=A8te=20du=20syst=C3=A8me=20avant=20l'installation=20et=20li?= =?UTF-8?q?mitation=20des=20threads=20pour=20l'installation=20de=20ghostty?= =?UTF-8?q?=20et=20bluetui=20afin=20d'=C3=A9viter=20les=20erreurs=20de=20m?= =?UTF-8?q?=C3=A9moire.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 12426bd..ab8aa34 100644 --- a/install.sh +++ b/install.sh @@ -114,6 +114,10 @@ cat > /mnt/setup.sh << EOF #!/bin/bash set -e +# Mise à jour complète du système pour avoir la bonne version de pacman/libalpm +echo "[INFO] Mise à jour du système (pacman -Syu)..." +pacman -Syu --noconfirm + # Fuseau horaire ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime hwclock --systohc @@ -218,7 +222,6 @@ if ! command -v paru &> /dev/null; then echo "[ERROR] paru n'a pas pu être installé." else echo "[INFO] Installation de ghostty et bluetui (limitation a 1 coeur pour eviter le Out of Memory)..." - # Limiter Cargo et Make à 1 thread pour éviter l'OOM sur les petits PC portables sudo -u $USERNAME bash -c "export CARGO_BUILD_JOBS=1; export MAKEFLAGS='-j1'; paru -S --noconfirm --skipreview ghostty-git bluetui" || echo "[WARNING] Erreur pendant l'install de ghostty/bluetui" fi