mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
Add limine as a bootloader selection
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
This commit is contained in:
1 parent
100cd9e5e8
commit
3b0c1375d4
1 file changed
+13
-2
@@ -28,17 +28,21 @@ Main() {
|
|||||||
local BOOTLOADER=""
|
local BOOTLOADER=""
|
||||||
if [ -d "${_efi_check_dir}" ]; then
|
if [ -d "${_efi_check_dir}" ]; then
|
||||||
SYSTEM="UEFI SYSTEM"
|
SYSTEM="UEFI SYSTEM"
|
||||||
|
|
||||||
# Restrict bootloader selection to only UEFI systems
|
|
||||||
_exitcode=$(yad --width 300 --title "Bootloader" \
|
_exitcode=$(yad --width 300 --title "Bootloader" \
|
||||||
--image=gnome-shutdown \
|
--image=gnome-shutdown \
|
||||||
--button="Grub:2" \
|
--button="Grub:2" \
|
||||||
--button="Systemd-boot(Default):3" \
|
--button="Systemd-boot(Default):3" \
|
||||||
--button="Refind:4" \
|
--button="Refind:4" \
|
||||||
--button="AI SDK / Refind:5" \
|
--button="AI SDK / Refind:5" \
|
||||||
|
--button="Limine:6" \
|
||||||
--text "Choose Bootloader/Edition:" ; echo $?)
|
--text "Choose Bootloader/Edition:" ; echo $?)
|
||||||
else
|
else
|
||||||
SYSTEM="BIOS/MBR SYSTEM"
|
SYSTEM="BIOS/MBR SYSTEM"
|
||||||
|
_exitcode=$(yad --width 300 --title "Bootloader" \
|
||||||
|
--image=gnome-shutdown \
|
||||||
|
--button="Grub:2" \
|
||||||
|
--button="Limine:6" \
|
||||||
|
--text "Choose Bootloader/Edition:" ; echo $?)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local ISO_VERSION="$(cat /etc/version-tag)"
|
local ISO_VERSION="$(cat /etc/version-tag)"
|
||||||
@@ -70,6 +74,13 @@ Main() {
|
|||||||
yes | sudo pacman -R cachyos-calamares-qt6-systemd
|
yes | sudo pacman -R cachyos-calamares-qt6-systemd
|
||||||
yes | sudo pacman -R cachyos-calamares-qt6-refind
|
yes | sudo pacman -R cachyos-calamares-qt6-refind
|
||||||
yes | sudo pacman -Sy cachyos-calamares-qt6-ai
|
yes | sudo pacman -Sy cachyos-calamares-qt6-ai
|
||||||
|
elif [[ "${_exitcode}" -eq 6 ]]; then
|
||||||
|
BOOTLOADER="Limine"
|
||||||
|
echo "USING Limine"
|
||||||
|
yes | sudo pacman -R cachyos-calamares-qt6-grub
|
||||||
|
yes | sudo pacman -R cachyos-calamares-qt6-systemd
|
||||||
|
yes | sudo pacman -R cachyos-calamares-qt6-refind
|
||||||
|
yes | sudo pacman -Sy cachyos-calamares-qt6-limine
|
||||||
else
|
else
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user