Merge branch 'test' into sudoers-fix
This commit is contained in:
commit
fa743bb1e8
|
|
@ -8,6 +8,7 @@ lightly-git
|
|||
lightlyshaders-git
|
||||
mangohud
|
||||
mangohud-common
|
||||
mkinitcpio-firmware
|
||||
nerd-fonts-fira-code
|
||||
nordic-darker-standard-buttons-theme
|
||||
nordic-darker-theme
|
||||
|
|
|
|||
|
|
@ -25,11 +25,11 @@ Setting up mirrors for optimal download
|
|||
source $CONFIGS_DIR/setup.conf
|
||||
iso=$(curl -4 ifconfig.co/country-iso)
|
||||
timedatectl set-ntp true
|
||||
pacman -S --noconfirm archlinux-keyring #update keyrings to latest to prevent packages failing to install
|
||||
pacman -S --noconfirm --needed pacman-contrib terminus-font
|
||||
pacman -S --noconfirm --color=always archlinux-keyring #update keyrings to latest to prevent packages failing to install
|
||||
pacman -S --noconfirm --needed --color=always pacman-contrib terminus-font
|
||||
setfont ter-v22b
|
||||
sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf
|
||||
pacman -S --noconfirm --needed reflector rsync grub
|
||||
pacman -S --noconfirm --needed --color=always reflector rsync grub
|
||||
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
|
||||
echo -ne "
|
||||
-------------------------------------------------------------------------
|
||||
|
|
@ -43,7 +43,7 @@ echo -ne "
|
|||
Installing Prerequisites
|
||||
-------------------------------------------------------------------------
|
||||
"
|
||||
pacman -S --noconfirm --needed gptfdisk btrfs-progs glibc
|
||||
pacman -S --noconfirm --needed --color=always gptfdisk btrfs-progs glibc
|
||||
echo -ne "
|
||||
-------------------------------------------------------------------------
|
||||
Formating Disk
|
||||
|
|
@ -145,7 +145,7 @@ echo -ne "
|
|||
Arch Install on Main Drive
|
||||
-------------------------------------------------------------------------
|
||||
"
|
||||
pacstrap /mnt base base-devel linux linux-firmware vim nano sudo archlinux-keyring wget libnewt --noconfirm --needed
|
||||
pacstrap /mnt base base-devel linux linux-firmware vim nano sudo archlinux-keyring wget libnewt --noconfirm --needed --color=always
|
||||
echo "keyserver hkp://keyserver.ubuntu.com" >> /mnt/etc/pacman.d/gnupg/gpg.conf
|
||||
cp -R ${SCRIPT_DIR} /mnt/root/ArchTitus
|
||||
cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist
|
||||
|
|
@ -163,7 +163,7 @@ echo -ne "
|
|||
if [[ ! -d "/sys/firmware/efi" ]]; then
|
||||
grub-install --boot-directory=/mnt/boot ${DISK}
|
||||
else
|
||||
pacstrap /mnt efibootmgr --noconfirm --needed
|
||||
pacstrap /mnt efibootmgr --noconfirm --needed --color=always
|
||||
fi
|
||||
echo -ne "
|
||||
-------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -18,15 +18,15 @@ echo -ne "
|
|||
Network Setup
|
||||
-------------------------------------------------------------------------
|
||||
"
|
||||
pacman -S --noconfirm --needed networkmanager dhclient
|
||||
pacman -S --noconfirm --needed --color=always networkmanager dhclient
|
||||
systemctl enable --now NetworkManager
|
||||
echo -ne "
|
||||
-------------------------------------------------------------------------
|
||||
Setting up mirrors for optimal download
|
||||
-------------------------------------------------------------------------
|
||||
"
|
||||
pacman -S --noconfirm --needed pacman-contrib curl
|
||||
pacman -S --noconfirm --needed reflector rsync grub arch-install-scripts git
|
||||
pacman -S --noconfirm --needed --color=always pacman-contrib curl
|
||||
pacman -S --noconfirm --needed --color=always reflector rsync grub arch-install-scripts git
|
||||
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
|
||||
|
||||
nc=$(grep -c ^processor /proc/cpuinfo)
|
||||
|
|
@ -65,7 +65,7 @@ sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf
|
|||
|
||||
#Enable multilib
|
||||
sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf
|
||||
pacman -Sy --noconfirm --needed
|
||||
pacman -Sy --noconfirm --needed --color=always
|
||||
|
||||
echo -ne "
|
||||
-------------------------------------------------------------------------
|
||||
|
|
@ -82,7 +82,7 @@ if [[ ! $DESKTOP_ENV == server ]]; then
|
|||
continue
|
||||
fi
|
||||
echo "INSTALLING: ${line}"
|
||||
sudo pacman -S --noconfirm --needed ${line}
|
||||
sudo pacman -S --noconfirm --needed --color=always ${line}
|
||||
done
|
||||
fi
|
||||
echo -ne "
|
||||
|
|
@ -94,11 +94,11 @@ echo -ne "
|
|||
proc_type=$(lscpu)
|
||||
if grep -E "GenuineIntel" <<< ${proc_type}; then
|
||||
echo "Installing Intel microcode"
|
||||
pacman -S --noconfirm --needed intel-ucode
|
||||
pacman -S --noconfirm --needed --color=always intel-ucode
|
||||
proc_ucode=intel-ucode.img
|
||||
elif grep -E "AuthenticAMD" <<< ${proc_type}; then
|
||||
echo "Installing AMD microcode"
|
||||
pacman -S --noconfirm --needed amd-ucode
|
||||
pacman -S --noconfirm --needed --color=always amd-ucode
|
||||
proc_ucode=amd-ucode.img
|
||||
fi
|
||||
|
||||
|
|
@ -110,12 +110,12 @@ echo -ne "
|
|||
# Graphics Drivers find and install
|
||||
gpu_type=$(lspci)
|
||||
if grep -E "NVIDIA|GeForce" <<< ${gpu_type}; then
|
||||
pacman -S --noconfirm --needed nvidia
|
||||
pacman -S --noconfirm --needed --color=always nvidia
|
||||
nvidia-xconfig
|
||||
elif lspci | grep 'VGA' | grep -E "Radeon|AMD"; then
|
||||
pacman -S --noconfirm --needed xf86-video-amdgpu
|
||||
pacman -S --noconfirm --needed --color=always xf86-video-amdgpu
|
||||
elif grep -E "Integrated Graphics Controller" <<< ${gpu_type}; then
|
||||
pacman -S --noconfirm --needed libva-intel-driver libvdpau-va-gl lib32-vulkan-intel vulkan-intel libva-intel-driver libva-utils lib32-mesa
|
||||
pacman -S --noconfirm --needed --color=always libva-intel-driver libvdpau-va-gl lib32-vulkan-intel vulkan-intel libva-intel-driver libva-utils lib32-mesa
|
||||
elif grep -E "Intel Corporation UHD" <<< ${gpu_type}; then
|
||||
pacman -S --needed --noconfirm libva-intel-driver libvdpau-va-gl lib32-vulkan-intel vulkan-intel libva-intel-driver libva-utils lib32-mesa
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ do
|
|||
continue
|
||||
fi
|
||||
echo "INSTALLING: ${line}"
|
||||
sudo pacman -S --noconfirm --needed ${line}
|
||||
sudo pacman -S --noconfirm --needed --color=always ${line}
|
||||
done
|
||||
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ if [[ ! $AUR_HELPER == none ]]; then
|
|||
continue
|
||||
fi
|
||||
echo "INSTALLING: ${line}"
|
||||
$AUR_HELPER -S --noconfirm --needed ${line}
|
||||
$AUR_HELPER -S --noconfirm --needed --color=always ${line}
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ elif [[ "${DESKTOP_ENV}" == "openbox" ]]; then
|
|||
|
||||
else
|
||||
if [[ ! "${DESKTOP_ENV}" == "server" ]]; then
|
||||
sudo pacman -S --noconfirm --needed lightdm lightdm-gtk-greeter
|
||||
sudo pacman -S --noconfirm --needed --color=always lightdm lightdm-gtk-greeter
|
||||
systemctl enable lightdm.service
|
||||
fi
|
||||
fi
|
||||
|
|
@ -94,6 +94,8 @@ echo -ne "
|
|||
# services part of the base installation
|
||||
systemctl enable NetworkManager.service
|
||||
echo " NetworkManager enabled"
|
||||
systemctl enable fstrim.timer
|
||||
echo " Periodic Trim enabled"
|
||||
|
||||
if [[ ${INSTALL_TYPE} == "FULL" ]]; then
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue