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

Bug 455354

Summary: sys-boot/shim - UEFI shim loader
Product: Gentoo Linux Reporter: Martin Pluskal <martin>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: enhancement CC: email
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
shim is a trivial EFI application that, when run, attempts to open and execute another application.

Reproducible: Always
Comment 1 Martin Pluskal 2013-02-03 21:58:24 UTC
Created attachment 337860 [details]
shim-0.2.ebuild
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-04 20:11:33 UTC
>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!
Comment 3 Martin Pluskal 2013-02-04 21:49:21 UTC
Created attachment 337948 [details]
shim-0.2.ebuild

Updated (thx TomWij)
Comment 4 Fernando (likewhoa) 2014-02-14 03:37:24 UTC
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.
Comment 5 Pacho Ramos gentoo-dev 2018-09-27 12:43:41 UTC
it was added