2022-12-14 07:06:55 +01:00
|
|
|
#!/usr/bin/env bash
|
2023-08-11 17:19:18 +02:00
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2023-01-08 22:22:00 +01:00
|
|
|
# created by Tobias Powalowski <tpowa@archlinux.org>
|
2022-03-22 11:33:22 +01:00
|
|
|
# source base and common first, contains basic parameters
|
2023-09-06 09:03:43 +02:00
|
|
|
. /usr/lib/archboot/common.sh
|
2022-03-22 11:33:22 +01:00
|
|
|
. /usr/lib/archboot/installer/common.sh
|
2023-02-07 16:51:32 +01:00
|
|
|
. /usr/lib/archboot/installer/base.sh
|
2022-03-22 08:26:51 +01:00
|
|
|
# source all other functions
|
2022-03-22 07:32:37 +01:00
|
|
|
. /usr/lib/archboot/installer/autoconfiguration.sh
|
2023-07-15 12:37:52 +02:00
|
|
|
. /usr/lib/archboot/installer/quicksetup.sh
|
2022-03-22 07:32:37 +01:00
|
|
|
. /usr/lib/archboot/installer/blockdevices.sh
|
2024-02-08 07:46:22 +01:00
|
|
|
. /usr/lib/archboot/installer/bcachefs.sh
|
2022-03-22 07:32:37 +01:00
|
|
|
. /usr/lib/archboot/installer/bootloader.sh
|
2023-08-19 14:45:23 +02:00
|
|
|
. /usr/lib/archboot/installer/bootloader_grub.sh
|
|
|
|
. /usr/lib/archboot/installer/bootloader_limine.sh
|
|
|
|
. /usr/lib/archboot/installer/bootloader_sb.sh
|
2023-08-23 07:48:40 +02:00
|
|
|
. /usr/lib/archboot/installer/bootloader_systemd_bootd.sh
|
2023-08-19 14:45:23 +02:00
|
|
|
. /usr/lib/archboot/installer/bootloader_refind.sh
|
|
|
|
. /usr/lib/archboot/installer/bootloader_uboot.sh
|
|
|
|
. /usr/lib/archboot/installer/bootloader_uki.sh
|
|
|
|
. /usr/lib/archboot/installer/bootloader_pacman_hooks.sh
|
2022-03-22 07:32:37 +01:00
|
|
|
. /usr/lib/archboot/installer/btrfs.sh
|
|
|
|
. /usr/lib/archboot/installer/configuration.sh
|
|
|
|
. /usr/lib/archboot/installer/mountpoints.sh
|
|
|
|
. /usr/lib/archboot/installer/pacman.sh
|
|
|
|
. /usr/lib/archboot/installer/partition.sh
|
|
|
|
. /usr/lib/archboot/installer/storage.sh
|
2022-03-21 09:31:28 +01:00
|
|
|
if [[ -e /tmp/.setup-running ]]; then
|
2023-01-08 22:03:15 +01:00
|
|
|
_dialog --msgbox "Attention:\n\nSetup already runs on a different console!\nPlease remove /tmp/.setup-running first to launch setup!" 8 60
|
2009-02-11 11:00:29 +01:00
|
|
|
exit 1
|
2009-02-11 12:03:41 +01:00
|
|
|
fi
|
2022-03-21 09:31:28 +01:00
|
|
|
: >/tmp/.setup-running
|
2008-10-20 22:39:25 +02:00
|
|
|
: >/tmp/.setup
|
2023-01-09 08:15:57 +01:00
|
|
|
_set_title
|
|
|
|
_set_uefi_parameters
|
2008-12-14 22:05:52 +01:00
|
|
|
while true; do
|
2023-01-09 06:50:20 +01:00
|
|
|
_mainmenu
|
2008-10-20 22:39:25 +02:00
|
|
|
done
|
|
|
|
clear
|
|
|
|
exit 0
|