From e6dcb1d3e59dac5126c51c8417e0018db0d65d94 Mon Sep 17 00:00:00 2001 From: 71Zombie <76274154+71Zombie@users.noreply.github.com> Date: Mon, 1 Nov 2021 08:24:26 -0400 Subject: [PATCH] Keep for testing --- 0-preinstall.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/0-preinstall.sh b/0-preinstall.sh index 9e627a4..a1a9875 100644 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -115,6 +115,12 @@ if [[ ! -d "/sys/firmware/efi" ]]; then else grub-install --efi-directory=/mnt/boot ${DISK} fi + +#sudo cp /boot/loader/entries/arch.conf /boot/loader/entries/arch-hardened.conf +#sudo sed -i 's|Arch Linux|Arch Linux Hardened Kernel|g' /boot/loader/entries/arch-hardened.conf +#sudo sed -i 's|vmlinuz-linux-hardened|vmlinuz-linux-lts|g' /boot/loader/entries/arch-hardened.conf +#sudo sed -i 's|initramfs-linux.img|initramfs-linux-hardened.img|g' /boot/loader/entries/arch-hardened.conf + cp -R ${SCRIPT_DIR} /mnt/root/BetterArch cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist echo "--------------------------------------"