Package: os-prober
Version: 1.83

When I run os-prober in a system containing a correctly installed elilo.efi at EFI/Slackware/elilo.efi, it wrongly returns /EFI/elilo.efi/elilo.efi

Here is a transcript:
chris@d10:~$ sudo os-prober
Password:
/dev/nvme0n1p1@/EFI/elilo.efi/elilo.efi:ELILO Boot Manager:ELILO:efi
/dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/nvme0n1p6:Chimera Linux:Chimera:linux
chris@d10:~$

The elilo.efi entry above should be:
/dev/nvme0n1p1@/EFI/Slackware/elilo.efi:ELILO Boot Manager:ELILO:efi


This can be fixed in file os-probes/mounted/x86/efi/10elilo by changing the line:
    bdir="${elilo##*/}"
to:
    bdir="${bdir##*/}"


Hope this is useful,
chris

Reply via email to