Update gentoo-kde.sh
This commit is contained in:
parent
c68fa3e571
commit
0fd378b0a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user