From 76194adead2633c3fb8af72595e3b7b79b51a766 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Wed, 1 May 2024 17:16:11 +0200 Subject: [PATCH] Launch-Installer: Add AI SDK Option Signed-off-by: Peter Jung --- archiso/airootfs/usr/local/bin/calamares-online.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/archiso/airootfs/usr/local/bin/calamares-online.sh b/archiso/airootfs/usr/local/bin/calamares-online.sh index d67e65c..35a5de4 100755 --- a/archiso/airootfs/usr/local/bin/calamares-online.sh +++ b/archiso/airootfs/usr/local/bin/calamares-online.sh @@ -51,6 +51,7 @@ Main() { --button="Grub:2" \ --button="Systemd-boot:3" \ --button="Refind:4" \ + --button="AI SDK (NVIDIA):5" \ --text "Choose Bootloader:" ; echo $?) else SYSTEM="BIOS/MBR SYSTEM" @@ -76,6 +77,13 @@ Main() { yes | sudo pacman -R cachyos-calamares-qt6-next-grub yes | sudo pacman -R cachyos-calamares-qt6-next-systemd yes | sudo pacman -Sy cachyos-calamares-qt6-next-refind + elif [[ "${_exitcode}" -eq 5 ]]; then + BOOTLOADER="REFIND" + echo "USING REFIND!" + yes | sudo pacman -R cachyos-calamares-qt6-next-grub + yes | sudo pacman -R cachyos-calamares-qt6-next-systemd + yes | sudo pacman -R cachyos-calamares-qt6-next-refind + yes | sudo pacman -Sy cachyos-calamares-qt6-next-ai else exit fi