From 0fd378b0a24748ef100ab7e2c5358836fc12b0f7 Mon Sep 17 00:00:00 2001 From: verita84 Date: Thu, 15 Feb 2024 21:46:44 -0700 Subject: [PATCH] Update gentoo-kde.sh --- gentoo-kde.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gentoo-kde.sh b/gentoo-kde.sh index 37e2a94..18e48a3 100644 --- a/gentoo-kde.sh +++ b/gentoo-kde.sh @@ -607,8 +607,10 @@ bootloader() { echo "Configuring Bootloader......." echo echo - #MACHINE_ID=$(cat /etc/machine-id) - MACHINE_ID=$(ls /efi | grep -Evi 'loader|efi') + MACHINE_ID=$(cat /etc/machine-id) + mkdir -p /efi/$MACHINE_ID + cp -rf /boot/* /efi/$MACHINE_ID + #MACHINE_ID=$(ls /efi | grep -Evi 'loader|efi') KERNEL=$(eselect kernel list | cut -d ']' -f2 | cut -d "*" -f1 | cut -d "-" -f2 | tail -1) KERNEL_VERSION=$(ls /efi/$MACHINE_ID) ROOT_NAME=$1