ajout de la prise en charge des scripts personnalisés dans le système live et suppression du paquet hello-custom de la liste des paquets

This commit is contained in:
Puechberty Arthur
2026-07-29 16:45:37 +02:00
parent fb37dc8888
commit 8a2fe1b8dd
2 changed files with 6 additions and 3 deletions
+6 -2
View File
@@ -114,8 +114,12 @@ rm -rf offline_cache
# Copier les scripts personnalisés dans la racine du live system si nécessaire
mkdir -p airootfs/usr/local/bin
cp custom-pkgs/hello-custom/hello-custom.sh airootfs/usr/local/bin/hello-custom 2>/dev/null || true
chmod +x airootfs/usr/local/bin/hello-custom 2>/dev/null || true
for script in custom-pkgs/*/*.sh; do
[ -f "$script" ] || continue
script_name="$(basename "$script")"
target_name="${script_name%.sh}"
install -Dm0755 "$script" "airootfs/usr/local/bin/$target_name"
done
# --- CRÉATION DE L'ISO ---
echo "[6/6] Building ISO (this will take a while)..."
-1
View File
@@ -126,4 +126,3 @@ xdg-utils
xfsprogs
xl2tpd
zsh
hello-custom