From 7d56c63616c0f9b1f1dc3e799998d41407ec2276 Mon Sep 17 00:00:00 2001 From: Tommaso Chiti Date: Sun, 25 Jul 2021 09:22:56 +0200 Subject: [PATCH] Update easy-arch.sh --- easy-arch.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/easy-arch.sh b/easy-arch.sh index 4145a39..460e76a 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -142,7 +142,7 @@ kernel_selector # Pacstrap (setting up a base sytem onto the new root). echo "Installing the base system (it may take a while)." -pacstrap /mnt base $kernel $microcode linux-firmware btrfs-progs grub grub-btrfs efibootmgr snapper sudo apparmor reflector base-devel +pacstrap /mnt base $kernel $microcode linux-firmware btrfs-progs grub grub-btrfs efibootmgr snapper reflector base-devel network_selector @@ -177,7 +177,7 @@ sed -i -e 's,modconf block filesystems keyboard,keyboard keymap modconf block en # Setting up LUKS2 encryption and apparmor. UUID=$(blkid $Cryptroot | cut -f2 -d'"') -sed -i "s/quiet/quiet cryptdevice=UUID=$UUID:cryptroot root=$BTRFS lsm=lockdown,yama,apparmor,bpf/g" /mnt/etc/default/grub +sed -i "s/quiet/quiet cryptdevice=UUID=$UUID:cryptroot root=$BTRFS/g" /mnt/etc/default/grub # Configuring the system. arch-chroot /mnt /bin/bash -e </dev/null - # Enabling Reflector timer. echo "Enabling Reflector." systemctl enable reflector.timer --root=/mnt &>/dev/null