From 6e1ecb82b81ccfe77c034d1b5edbc6167a7c39c6 Mon Sep 17 00:00:00 2001 From: ping <dev@guillaumepin.ch> Date: Thu, 13 Feb 2025 22:51:36 +0100 Subject: [PATCH] Changes the order of post-install scripts && uses run_command to run post-install scripts --- live_exam_os/build.sh | 3 ++- .../03-post_install/{9999-cleanup.sh => 9000-cleanup.sh} | 0 .../03-post_install/{4000-firewall.sh => 9999-firewall.sh} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename live_exam_os/config/03-post_install/{9999-cleanup.sh => 9000-cleanup.sh} (100%) rename live_exam_os/config/03-post_install/{4000-firewall.sh => 9999-firewall.sh} (100%) diff --git a/live_exam_os/build.sh b/live_exam_os/build.sh index 08708cb..60f9220 100755 --- a/live_exam_os/build.sh +++ b/live_exam_os/build.sh @@ -261,7 +261,8 @@ fi echo "[Post-install...]" for script in config/03-post_install/*.sh; do - ./"$script" + echo " [Running $script...]" + run_command "$script" done echo "[Moving kernel...]" diff --git a/live_exam_os/config/03-post_install/9999-cleanup.sh b/live_exam_os/config/03-post_install/9000-cleanup.sh similarity index 100% rename from live_exam_os/config/03-post_install/9999-cleanup.sh rename to live_exam_os/config/03-post_install/9000-cleanup.sh diff --git a/live_exam_os/config/03-post_install/4000-firewall.sh b/live_exam_os/config/03-post_install/9999-firewall.sh similarity index 100% rename from live_exam_os/config/03-post_install/4000-firewall.sh rename to live_exam_os/config/03-post_install/9999-firewall.sh -- GitLab