Summary: | sys-boot/shim - UEFI shim loader | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Pluskal <martin> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | |
Priority: | Normal | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://github.com/mjg59/shim | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
shim-0.2.ebuild
shim-0.2.ebuild updated ebuild |
Description
Martin Pluskal
2013-02-03 21:57:58 UTC
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 |