archboot/usr/bin/archboot-setup.sh

35 lines
1.5 KiB
Bash
Raw Normal View History

#!/usr/bin/env bash
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
2022-03-22 08:26:51 +01:00
. /usr/lib/archboot/installer/base.sh
2022-03-22 11:33:22 +01:00
. /usr/lib/archboot/installer/common.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
. /usr/lib/archboot/installer/autoprepare.sh
. /usr/lib/archboot/installer/blockdevices.sh
. /usr/lib/archboot/installer/bootloader.sh
. /usr/lib/archboot/installer/btrfs.sh
. /usr/lib/archboot/installer/configuration.sh
. /usr/lib/archboot/installer/mountpoints.sh
. /usr/lib/archboot/installer/network.sh
. /usr/lib/archboot/installer/pacman.sh
. /usr/lib/archboot/installer/partition.sh
. /usr/lib/archboot/installer/storage.sh
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
exit 1
2009-02-11 12:03:41 +01:00
fi
: >/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
if [[ "${_DESTDIR}" == "/install" ]]; then
_dialog --msgbox "Welcome to the Archboot Arch Linux Installation program.\n\nThe install process is fairly straightforward, and you should run through the options in the order they are presented.\n\nIf you are unfamiliar with partitioning/making filesystems, you may want to consult some documentation before continuing.\n\nYou can view all output from commands by viewing your ${_VC} console (ALT-F${_VC_NUM}). ALT-F1 will bring you back here." 14 65
fi
while true; do
2023-01-09 06:50:20 +01:00
_mainmenu
2008-10-20 22:39:25 +02:00
done
clear
exit 0
2009-07-30 18:42:45 +02:00
# vim: set ts=4 sw=4 et: