commit: 8243b2dc5af55fd82cbbd2898e21d8658974224d Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Sun Jul 16 08:25:14 2023 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Thu Aug 17 07:48:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8243b2dc
sys-block/sas3ircu: use secureboot.eclass to sign efi exec Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> sys-block/sas3ircu/sas3ircu-16.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys-block/sas3ircu/sas3ircu-16.ebuild b/sys-block/sas3ircu/sas3ircu-16.ebuild index b9d4c0a25807..bbd2cebcd65b 100644 --- a/sys-block/sas3ircu/sas3ircu-16.ebuild +++ b/sys-block/sas3ircu/sas3ircu-16.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit mount-boot +inherit mount-boot secureboot DESCRIPTION="LSI MPT-SAS3 controller management tool" HOMEPAGE="https://www.broadcom.com/products/storage/host-bus-adapters/sas-9300-8e#downloads" @@ -42,6 +42,10 @@ pkg_nofetch() { einfo "${SRC_URI}" } +pkg_setup() { + use efi && secureboot_pkg_setup +} + supportedcards() { elog "This binary supports should support ALL cards, including, but not" elog "limited to the following series:" @@ -84,5 +88,6 @@ src_install() { elif use arm64; then doexe sas3ircu_rel/sas3ircu/sas3ircu_udk_uefi_arm_rel/sas3ircu.efi fi + secureboot_auto_sign --in-place fi }