aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-08-20 16:12:49 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-08-20 16:12:49 +0200
commite68f251e4eb35b4f3174f31da1a35ebde98aaa23 (patch)
treeb53eb8c4d979931c8d6333b3cddf063e41d94331
parent1aa5a3aa0813a83d19ae8513fb5acb23a34b9e53 (diff)
restructure for correct installation
-rwxr-xr-xarmtixinstall5
-rwxr-xr-xmkarmtix2
2 files changed, 3 insertions, 4 deletions
diff --git a/armtixinstall b/armtixinstall
index 40a1ef3..3d6b78d 100755
--- a/armtixinstall
+++ b/armtixinstall
@@ -57,16 +57,13 @@ mount ${PART_PREFIX}1 /mnt/boot
(cd /mnt && tar -xJf ${IMG})
-artix-chroot /mnt bash -c "curl -fsSL https://raw.githubusercontent.com/HimbeerserverDE/artixinstall/main/mkarmtix | sh -s -- ${DRIVE} ${PART_PREFIX}"
-
-fstabgen -U /mnt >> /mnt/etc/fstab
-
umount -R /mnt
sync
rm -d /btrfs
echo -e "\n\e[1m\e[1;32mArmtix has been successfully installed! It is now safe to remove the drive."
+echo -e "\e[1m\e[1;32mYou will have to complete the installation using mkarmtix."
echo -e "\e[1m\e[1;32mDon't forget to change the root password and hostname."
echo -e "\e[1m\e[1;32mYou should synchronize the system clock to hardware yourself."
echo -e "\e[1m\e[1;32mSetting up networking is left to you, dhcpcd and wpa_supplicant are installed."
diff --git a/mkarmtix b/mkarmtix
index c14bd4a..35a95fd 100755
--- a/mkarmtix
+++ b/mkarmtix
@@ -124,4 +124,6 @@ pacman -S --needed --noconfirm raspberrypi-bootloader
rc-update add ntpd default
+fstabgen -U / >> /etc/fstab
+
exit 0