source setup conf

This commit is contained in:
fenris 2021-12-09 19:06:49 +01:00
parent afbacbe3c2
commit 75d3eb6021
4 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,7 @@ echo -ne "
Automated Arch Linux Installer Automated Arch Linux Installer
------------------------------------------------------------------------- -------------------------------------------------------------------------
" "
source setup.conf source $SCRIPTHOME/setup.conf
echo -ne " echo -ne "
------------------------------------------------------------------------- -------------------------------------------------------------------------
Network Setup Network Setup

View File

@ -14,6 +14,7 @@ echo -ne "
Installing AUR Softwares Installing AUR Softwares
" "
# You can solve users running this script as root with this and then doing the same for the next for statement. However I will leave this up to you. # You can solve users running this script as root with this and then doing the same for the next for statement. However I will leave this up to you.
source $SCRIPTHOME/setup.conf
cd ~ cd ~
git clone "https://aur.archlinux.org/yay.git" git clone "https://aur.archlinux.org/yay.git"

View File

@ -14,6 +14,7 @@ echo -ne "
Final Setup and Configurations Final Setup and Configurations
GRUB EFI Bootloader Install & Check GRUB EFI Bootloader Install & Check
" "
source $SCRIPTHOME/setup.conf
if [[ -d "/sys/firmware/efi" ]]; then if [[ -d "/sys/firmware/efi" ]]; then
grub-install --efi-directory=/boot ${DISK} grub-install --efi-directory=/boot ${DISK}
fi fi

View File

@ -18,8 +18,8 @@ echo -ne "
bash startup.sh bash startup.sh
source setup.conf source setup.conf
bash 0-preinstall.sh bash 0-preinstall.sh
cp setup.conf /mnt/root/$SCRIPTHOME/setup.conf
arch-chroot /mnt /root/$SCRIPTHOME/1-setup.sh arch-chroot /mnt /root/$SCRIPTHOME/1-setup.sh
source /mnt/root/$SCRIPTHOME/install.conf
arch-chroot /mnt /usr/bin/runuser -u $username -- /home/$username/$SCRIPTHOME/2-user.sh arch-chroot /mnt /usr/bin/runuser -u $username -- /home/$username/$SCRIPTHOME/2-user.sh
arch-chroot /mnt /root/$SCRIPTHOME/3-post-setup.sh arch-chroot /mnt /root/$SCRIPTHOME/3-post-setup.sh