On Tue, Feb 5, 2013 at 1:14 AM, Martin Pluskal <mar...@pluskal.org> wrote:
> I am thinking about creating ebuild for shim. I was wondering if there
> is any policy or suggestion where to place .efi binaries or how to
> handle them in gentoo - it seems that there is none so perhaps there
> should be agreed on what best practice is (install directly into
> /boot/efi or install else and let user manually copy .efi to /boot/efi
> or something completely different (eselect efi ...)).

I think that you will most certainly need to separate installation and
configuration (e.g., with a "shim-install" script or similar), because
configuration depends on the environment. For instance, with removable
media you will need to:
1. Drop shim.efi and MokManager.efi into [/boot/]EFI/BOOT.
2. Rename BOOTx64.EFI to grubx64.efi, and then rename shim.efi to BOOTx64.EFI.
(Copied from http://dee.su/liberte-install — this has been tested with
OVMF and real Secure Boot hardware.)

-- 
Maxim Kammerer
Liberté Linux: http://dee.su/liberte

Reply via email to