From 0dec3d05baa4cd1155c8befdb06068969ebf62ab Mon Sep 17 00:00:00 2001
From: ping <dev@guillaumepin.ch>
Date: Wed, 12 Feb 2025 12:03:40 +0100
Subject: [PATCH] Remove the --arch option as it is not fully implemented yet

---
 live_exam_os/README.md |  1 -
 live_exam_os/build.sh  | 10 ----------
 2 files changed, 11 deletions(-)

diff --git a/live_exam_os/README.md b/live_exam_os/README.md
index 8ccb59f..744a4b2 100644
--- a/live_exam_os/README.md
+++ b/live_exam_os/README.md
@@ -49,7 +49,6 @@ Replace <image_name> with the name of your Docker image and <param> with the des
 | --luks-keys 	| Provide a list of additional keys for LUKS encryption. 	|
 | --ram 	| Use the system in RAM. 	|
 | --challenge 	| Specify the challenge in use by YubiKeys. 	|
-| --arch 	| Set the architecture of the system (e.g., amd64). 	|
 | --pxe 	| Set  the URL of the PXE and generate an initramfs, kernel, and squashfs for  the PXE to use (use the URL of the folder where the squashfs is stored,  not the direct link to the squashfs). 	|
 | --cache 	| Path to a folder with a clean filesystem already downloaded. 	|
 | --version 	| Version of Ubuntu (e.g., Noble). 	|
diff --git a/live_exam_os/build.sh b/live_exam_os/build.sh
index ad54c32..08708cb 100755
--- a/live_exam_os/build.sh
+++ b/live_exam_os/build.sh
@@ -30,7 +30,6 @@ helper() {
   echo "  --luks-keys           List of additional keys"
   echo "  --ram                 Using the system in RAM"
   echo "  --challenge           List of additional keys"
-  echo "  --arch                Set the architecture of the system (e.g., amd64)"
   echo "  --pxe                 Set the url of the pxe and generate an initramfs, kernel and squashfs for the pxe to use
                         (use the url of the folder where the squashfs is stored, not the direct link to the squashfs)"
   echo "  --cache               Path to a folder with a clean fs already downloaded"
@@ -133,15 +132,6 @@ while [ "$#" -gt 0 ]; do
         helper
       fi
       ;;
-    --arch)
-      if [ -n "$2" ]; then
-        export ARCH="$2"
-        shift 2
-      else
-        echo "Error: --arch requires an argument" >&2
-        helper
-      fi
-      ;;
     *)
       echo "Unknown option: $1" >&2
       helper
-- 
GitLab