diff --git a/easy-arch.sh b/easy-arch.sh index 6a8b0a7..f4fe7de 100755 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -351,9 +351,12 @@ mount -o "$mountopts",subvol=@var_pkgs "$BTRFS" /mnt/var/cache/pacman/pkg chattr +C /mnt/var/log mount "$ESP" /mnt/boot/ +# Checking the microcode to install. +microcode_detector + # Pacstrap (setting up a base sytem onto the new root). info_print "Installing the base system (it may take a while)." -pacstrap /mnt base "$kernel" "$microcode" linux-firmware "$kernel"-headers btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector snap-pac zram-generator &>/dev/null +pacstrap /mnt base "$kernel" "$microcode" linux-firmware "$kernel"-headers btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector snap-pac zram-generator sudo &>/dev/null # Setting up the hostname. echo "$hostname" > /mnt/etc/hostname @@ -375,9 +378,6 @@ cat > /mnt/etc/hosts <