shim is a trivial EFI application that, when run, attempts to open and execute another application. Reproducible: Always
Created attachment 337860 [details] shim-0.2.ebuild
>cp -R "${S}/shim.efi" "${D}/usr/lib64/efi/shim.efi" || die >cp -R "${S}/MokManager.efi.signed" "${D}/usr/lib64/efi/MokManager.efi.signed" || die You can replace these two by install functions (see http://devmanual.gentoo.org/function-reference/install-functions) which die on their own and include other safeties, those install functions also take two parameters. You can most likely use a combination of insinto and doins; that way, you probably don't need the dodir call. You can also set EAPI=5. Other than that it looks very good!
Created attachment 337948 [details] shim-0.2.ebuild Updated (thx TomWij)
Created attachment 370380 [details] updated ebuild The previous ebuild had a rdepend on sys-boot/pesign but portage has it as app-crypt/pesign so i am guessing it was a typo on the ebuild writer. Anyways, I took this new ebuild through repoman and also removed netboot support since it's currently not working. see TODO in source.
it was added