Update gentoo-kde.sh
This commit is contained in:
parent
0fd378b0a2
commit
05edcd7564
@ -612,7 +612,7 @@ bootloader() {
|
|||||||
cp -rf /boot/* /efi/$MACHINE_ID
|
cp -rf /boot/* /efi/$MACHINE_ID
|
||||||
#MACHINE_ID=$(ls /efi | grep -Evi 'loader|efi')
|
#MACHINE_ID=$(ls /efi | grep -Evi 'loader|efi')
|
||||||
KERNEL=$(eselect kernel list | cut -d ']' -f2 | cut -d "*" -f1 | cut -d "-" -f2 | tail -1)
|
KERNEL=$(eselect kernel list | cut -d ']' -f2 | cut -d "*" -f1 | cut -d "-" -f2 | tail -1)
|
||||||
KERNEL_VERSION=$(ls /efi/$MACHINE_ID)
|
KERNEL_VERSION=$(ls /efi/$MACHINE_ID | tail -1)
|
||||||
ROOT_NAME=$1
|
ROOT_NAME=$1
|
||||||
BTRFS=$2
|
BTRFS=$2
|
||||||
LOADER_FILE="/efi/loader/entries/$MACHINE_ID-$KERNEL_VERSION.conf"
|
LOADER_FILE="/efi/loader/entries/$MACHINE_ID-$KERNEL_VERSION.conf"
|
||||||
|
Loading…
Reference in New Issue
Block a user