summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/perccli')
-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
}