summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-07-16 10:08:54 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-08-17 09:48:44 +0200
commit20c88b1800d7d59e073ab834b9b4573149138ea0 (patch)
tree00ccab849a78bed265fbd286df10840add1ae140 /sys-block/perccli/perccli-7.5.007.0529-r2.ebuild
parentapp-emulation/xen: use secureboot.eclass to sign efi exec (diff)
downloadgentoo-20c88b1800d7d59e073ab834b9b4573149138ea0.tar.gz
gentoo-20c88b1800d7d59e073ab834b9b4573149138ea0.tar.bz2
gentoo-20c88b1800d7d59e073ab834b9b4573149138ea0.zip
sys-block/perccli: use secureboot.eclass to sign efi exec
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sys-block/perccli/perccli-7.5.007.0529-r2.ebuild')
-rw-r--r--sys-block/perccli/perccli-7.5.007.0529-r2.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-block/perccli/perccli-7.5.007.0529-r2.ebuild b/sys-block/perccli/perccli-7.5.007.0529-r2.ebuild
index a21847d6bae9..a6a8cab93d8f 100644
--- a/sys-block/perccli/perccli-7.5.007.0529-r2.ebuild
+++ b/sys-block/perccli/perccli-7.5.007.0529-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit mount-boot rpm
+inherit mount-boot rpm secureboot
DESCRIPTION="LINUX PERCCLI Utility For All Dell HBA/PERC Controllers"
HOMEPAGE="https://www.dell.com/support/home/us/en/19/drivers/driversdetails?driverId=NF8G9"
@@ -22,6 +22,10 @@ SRC_URI="https://downloads.dell.com/FOLDER05235308M/1/perccli_linux_NF8G9_A07_7.
S="${WORKDIR}"/perccli_7.5-007.0529_linux
+pkg_setup() {
+ use efi && secureboot_pkg_setup
+}
+
src_unpack() {
default
cd "${S}"
@@ -41,4 +45,5 @@ src_install() {
doexe EFI/perccli.efi
fi
use doc && dodoc "${DISTDIR}"/${DISTFILE_DOC}
+ use efi && secureboot_auto_sign --in-place
}