Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455354 - sys-boot/shim - UEFI shim loader
Summary: sys-boot/shim - UEFI shim loader
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
Keywords: EBUILD
Depends on:
Reported: 2013-02-03 21:57 UTC by Martin Pluskal
Modified: 2018-09-27 12:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

shim-0.2.ebuild (shim-0.2.ebuild,701 bytes, text/plain)
2013-02-03 21:58 UTC, Martin Pluskal
shim-0.2.ebuild (shim-0.2.ebuild,600 bytes, text/plain)
2013-02-04 21:49 UTC, Martin Pluskal
updated ebuild (shim-0.2.ebuild,691 bytes, text/plain)
2014-02-14 03:37 UTC, Fernando (likewhoa)

Note You need to log in before you can comment on or make changes to this bug.
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]
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 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]

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