Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 657424

Summary: sys-boot/efibootmgr default loader in manpage is incorrect
Product: Gentoo Linux Reporter: Mason Loring Bliss <mason>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/rhboot/efibootmgr/issues/93
Whiteboard:
Package list:
Runtime testing required: ---

Description Mason Loring Bliss 2018-06-05 19:46:26 UTC
The man page describes efibootmgr's default behaviour when not passed -l:

       -l | --loader NAME
              Specify a loader (defaults to \\elilo.efi)

This is great, because it happens to be what I want. However, on running efibootmgr, it turns out that you guys substitute this instead:

    \\EFI\\Gentoo\\grub.efi

The best fix would be restoring the default so that the efibootmgr you ship matches what everyone else ships, but a second-best fix would be correcting the docs to correctly note the default path used if -l is not explicitly passed.
Comment 1 Mike Gilbert gentoo-dev 2018-06-05 19:57:36 UTC
We set EFIDIR=Gentoo in the ebuild as documented in Make.defaults, and the build system does the rest.

Please contact the upstream developer to have the manpage updated.
Comment 2 Mason Loring Bliss 2018-06-05 20:30:31 UTC
Fair enough.

For anyone tracking this, I've opened an upstream bug here:

    https://github.com/rhboot/efibootmgr/issues/93
Comment 3 Mike Gilbert gentoo-dev 2018-06-05 20:52:07 UTC
Thanks!