summaryrefslogtreecommitdiff
path: root/install-artix.sh
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2023-05-24 12:38:11 +0100
committerBlake Romero <blake@blkrom.com>2023-05-24 12:38:11 +0100
commit6e280fd41987dcbe9177a1392b4e5a31c6343718 (patch)
treeca23b8e8edf505a19f0ba2da11c33f1c66d8cf54 /install-artix.sh
parentcd476fd9cf4b996c40c82287fb9ee659bc17c5c3 (diff)
Add Arch repository support
Diffstat (limited to 'install-artix.sh')
-rwxr-xr-xinstall-artix.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/install-artix.sh b/install-artix.sh
index f0a5fbb..0cf1db1 100755
--- a/install-artix.sh
+++ b/install-artix.sh
@@ -23,7 +23,6 @@
#
# TODO LIST:
# - FIXME: BIOS installation not booting
-# - TODO: add arch mirrors support option
#
# ==========================================================
# CONFIG
@@ -38,6 +37,7 @@ locale=en_GB
hostname=artix
user=blake
user_groups=wheel,video,audio
+arch_support=true
# ==========================================================
# INSTALLATION
@@ -252,9 +252,19 @@ fi
artix-chroot /mnt bash -c "grub-install ${grub_options}"
artix-chroot /mnt bash -c "grub-mkconfig -o /boot/grub/grub.cfg"
+echo "
+======================================================================
+ MAIN INSTALLATION COMPLETE!
+======================================================================
+"
+
+# EXTRA
+source extra.sh
+[[ $arch_support == true ]] && enable_arch
+
# FINISH
umount -R /mnt
cryptsetup close root
swapoff -a
set +x
-echo "Installation complete!"
+echo "Installation complete! You can now reboot and log into system"