kesboot
kesboot copied to clipboard
incompatible efibootmgr output
i don't know why, but the output of efibootmgr (from manjaro-linux) is something like this:
$ efibootmgr
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0006
Boot0002* Linux Boot Manager HD(1,GPT,7ff6991c-d9ef-4c3e-8bf1-345168f07626,0x800,0x100000)/\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI
Boot0006* UEFI OS HD(1,GPT,7ff6991c-d9ef-4c3e-8bf1-345168f07626,0x800,0x100000)/\EFI\BOOT\BOOTX64.EFI0000424f
So the entries won't end with the name and kesboot is unable to found his own entries.
so i added the following line in main.sh:_get_efi and main.sh:_get_efi_num to get rid of the tabulator and the rest of the line and to make it work as expected:
_poses="$(echo "$_poses" | sed 's/\t.*//')"