commit:     b42e1af6cee762ebc65bcb3ef478615afa4cb0da
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 11 18:12:01 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Jul 20 11:32:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b42e1af6

sys-boot/refind: use secureboot.eclass to sign efi files

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-boot/refind/refind-0.13.3.1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-boot/refind/refind-0.13.3.1.ebuild 
b/sys-boot/refind/refind-0.13.3.1.ebuild
index 73f27787890e..327f17b7022b 100644
--- a/sys-boot/refind/refind-0.13.3.1.ebuild
+++ b/sys-boot/refind/refind-0.13.3.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit toolchain-funcs secureboot
 
 DESCRIPTION="The UEFI Boot Manager by Rod Smith"
 HOMEPAGE="https://www.rodsbooks.com/refind/";
@@ -39,6 +39,7 @@ pkg_setup() {
                export EFIARCH=x64
                export BUILDARCH=x86_64
        fi
+       secureboot_pkg_setup
 }
 
 src_prepare() {
@@ -111,6 +112,8 @@ src_install() {
        dosbin "mkrlconf"
        dosbin "mvrefind"
        dosbin "refind-mkdefault"
+
+       secureboot_auto_sign --in-place
 }
 
 pkg_postinst() {

Reply via email to