From 96c768f0d34ce2bccf81c760e7745acca534466c Mon Sep 17 00:00:00 2001 From: teldra Date: Mon, 7 Feb 2022 19:24:21 +0100 Subject: [PATCH] progress --- etc/base | 1 + etc/bootloader/grub | 1 + 2 files changed, 2 insertions(+) diff --git a/etc/base b/etc/base index 70185a9..663a8a1 100644 --- a/etc/base +++ b/etc/base @@ -30,6 +30,7 @@ EOF if [ "$EFI" == "1" ]; then uuid=$(blkid -o value -s UUID ${TARGET_PHY_ID}-part1) echo "UUID=${UUID} /boot/efi vfat defaults 0 0" >> /etc/fstab + echo "efivarfs /sys/firmware/efi/efivars efivarfs defaults 0 0" >> /etc/fstab fi uuid=$(blkid -o value -s UUID ${TARGET_PHY_ID}-part${TARGET_PART}) diff --git a/etc/bootloader/grub b/etc/bootloader/grub index be7a86e..1717d21 100644 --- a/etc/bootloader/grub +++ b/etc/bootloader/grub @@ -9,6 +9,7 @@ packages() { config() { if [ "${EFI}" == "1" ]; then grub-install + efibootmgr --create --disk "${TARGET_PHY_ID}-${TARGET_PART}" --loader /EFI/void/grubx64.efi --label "Voidlinux" --verbose else grub-install "${TARGET_PHY_ID}" fi