diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-07-16 10:52:27 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-08-17 09:48:50 +0200 |
commit | 8130f910773cd291725590b0aff27c8df4287889 (patch) | |
tree | e644ca1145a9badf1593900249a0c1dbd517ddf9 /sys-apps | |
parent | sys-apps/memtest86+: use secureboot.eclass to sign efi exec (diff) | |
download | gentoo-8130f910773cd291725590b0aff27c8df4287889.tar.gz gentoo-8130f910773cd291725590b0aff27c8df4287889.tar.bz2 gentoo-8130f910773cd291725590b0aff27c8df4287889.zip |
sys-apps/ipmicfg: use secureboot.eclass to sign efi exec
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/31843
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/ipmicfg/ipmicfg-1.34.2.230224.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-apps/ipmicfg/ipmicfg-1.34.2.230224.ebuild b/sys-apps/ipmicfg/ipmicfg-1.34.2.230224.ebuild index 2adf8df742f3..cb0fafe4c1e4 100644 --- a/sys-apps/ipmicfg/ipmicfg-1.34.2.230224.ebuild +++ b/sys-apps/ipmicfg/ipmicfg-1.34.2.230224.ebuild @@ -7,6 +7,8 @@ MY_DATE="$(ver_cut 4)" MY_PN="${PN^^}" MY_PV="$(ver_cut 1-3)" +inherit secureboot + DESCRIPTION="An in-band utility for configuring Supermicro IPMI devices" HOMEPAGE="https://www.supermicro.com" SRC_URI="https://www.supermicro.com/Bios/sw_download/551/${MY_PN}_${MY_PV}_build.${MY_DATE}.zip" @@ -23,12 +25,17 @@ RESTRICT="bindist mirror" QA_PREBUILT="usr/bin/ipmicfg" +pkg_setup() { + use uefi && secureboot_pkg_setup +} + src_install() { newbin Linux/$(usex amd64 '64bit' '32bit')/IPMICFG-Linux.x86$(usex amd64 '_64' '') ipmicfg if use uefi; then insinto /usr/share/ipmicfg newins UEFI/IPMICFG.efi ipmicfg.efi + secureboot_auto_sign --in-place fi # Install docs |