commit:     1438c99bf29970d73bdc799a25f5000d37900d3f
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 16 08:30:37 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 07:48:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1438c99b

sys-apps/memtest86-bin: use secureboot.eclass to sign efi exec

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

 sys-apps/memtest86-bin/memtest86-bin-10.5.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-apps/memtest86-bin/memtest86-bin-10.5.ebuild 
b/sys-apps/memtest86-bin/memtest86-bin-10.5.ebuild
index d01d59ce5305..caaa6b213878 100644
--- a/sys-apps/memtest86-bin/memtest86-bin-10.5.ebuild
+++ b/sys-apps/memtest86-bin/memtest86-bin-10.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit mount-boot
+inherit mount-boot secureboot
 
 DESCRIPTION="Stand alone memory testing software for x86 EFI hardware"
 HOMEPAGE="http://www.memtest86.com/";
@@ -33,6 +33,8 @@ src_install() {
        newexe "${FILESDIR}"/${PN}-grub.d 39_memtest86-bin
 
        dodoc MemTest86_User_Guide_UEFI.pdf
+
+       secureboot_auto_sign --in-place
 }
 
 pkg_postinst() {

Reply via email to