Merge branch 'main' into patch-1

This commit is contained in:
Chris Titus 2022-01-06 11:36:10 -06:00 committed by GitHub
commit 21d7c531ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 9 deletions

View File

@ -15,7 +15,7 @@ iso=$(curl -4 ifconfig.co/country-iso)
timedatectl set-ntp true timedatectl set-ntp true
pacman -S --noconfirm pacman-contrib terminus-font pacman -S --noconfirm pacman-contrib terminus-font
setfont ter-v22b setfont ter-v22b
sed -i 's/^#Para/Para/' /etc/pacman.conf sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf
pacman -S --noconfirm reflector rsync grub pacman -S --noconfirm reflector rsync grub
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
echo -e "-------------------------------------------------------------------------" echo -e "-------------------------------------------------------------------------"
@ -127,7 +127,7 @@ if [[ $TOTALMEM -lt 8000000 ]]; then
chown root /mnt/opt/swap/swapfile chown root /mnt/opt/swap/swapfile
mkswap /mnt/opt/swap/swapfile mkswap /mnt/opt/swap/swapfile
swapon /mnt/opt/swap/swapfile swapon /mnt/opt/swap/swapfile
#The line below is written to /mnt/ but doesn't contain /mnt/, since it's just / for the sysytem itself. # The line below is written to /mnt/ but doesn't contain /mnt/, since it's just / for the system itself.
echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab # Add swap to fstab, so it KEEPS working after installation. echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab # Add swap to fstab, so it KEEPS working after installation.
fi fi
echo "--------------------------------------" echo "--------------------------------------"

View File

@ -45,7 +45,7 @@ localectl --no-ask-password set-keymap us
sed -i 's/^# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers sed -i 's/^# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers
#Add parallel downloading #Add parallel downloading
sed -i 's/^#Para/Para/' /etc/pacman.conf sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf
#Enable multilib #Enable multilib
sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf
@ -94,7 +94,7 @@ PKGS=(
'dtc' # Device Tree Compiler 'dtc' # Device Tree Compiler
'efibootmgr' # EFI boot 'efibootmgr' # EFI boot
'egl-wayland' # EGLStream-based Wayland external platform - Video Driver Stuff 'egl-wayland' # EGLStream-based Wayland external platform - Video Driver Stuff
'exfat-utils' # Utilities for exFAT file system 'exfatprogs' # Utilities for exFAT file system
'extra-cmake-modules' # Extra modules and scripts for CMake (A cross-platform open-source make system) 'extra-cmake-modules' # Extra modules and scripts for CMake (A cross-platform open-source make system)
'filelight' # View disk usage information 'filelight' # View disk usage information
'flex' # Tool for generating scanners: programs which recognize lexical patterns in text (For Compilers) 'flex' # Tool for generating scanners: programs which recognize lexical patterns in text (For Compilers)
@ -236,6 +236,10 @@ fi
echo -e "\nDone!\n" echo -e "\nDone!\n"
if ! source install.conf; then if ! source install.conf; then
read -p "Please enter username:" username read -p "Please enter username:" username
# Make username lowercase
username=${username,,}
echo "username=$username" >> ${HOME}/ArchTitus/install.conf echo "username=$username" >> ${HOME}/ArchTitus/install.conf
fi fi
if [ $(whoami) = "root" ]; if [ $(whoami) = "root" ];

View File

@ -31,6 +31,11 @@ __[Arch Linux Installation Guide](https://github.com/rickellis/Arch-Linux-Instal
### No Wifi ### No Wifi
You can check if the WiFi is blocked by running `rfkill list`.
If it says **Soft blocked: yes**, then run `rfkill unblock wifi`
After unblocking the WiFi, you can connect to it. Go through these 5 steps:
#1: Run `iwctl` #1: Run `iwctl`
#2: Run `device list`, and find your device name. #2: Run `device list`, and find your device name.