This commit is contained in:
teldra 2022-02-09 15:57:02 +01:00
parent b75888919c
commit 8bbfacb10d

View File

@ -36,6 +36,7 @@ config() {
grub-kbdcomp -o ${KEY_LANG}.gkb ${KEY_LANG}
tar cf memdisk.tar ${KEY_LANG}.gkb
mkdir -p /boot/grub/
echo "set root=(memdisk)" > /boot/grub/early-grub.cfg
echo "set prefix=($root)/" >> /boot/grub/early-grub.cfg
echo "terminal_input at_keyboard" >> /boot/grub/early-grub.cfg
@ -45,7 +46,6 @@ config() {
echo "set prefix=($root)/grub" >> /boot/grub/early-grub.cfg
echo "configfile grub.cfg" >> /boot/grub/early-grub.cfg
mkdir -p /boot/grub/
grub-mkimage -c /boot/grub/early-grub.cfg -o grubx64.efi -O x86_64-efi -m memdisk.tar memdisk tar at_keyboard keylayouts configfile
cp -f grubx64.efi /boot/efi/EFI/void/grubx64.efi