summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-07-12 09:40:30 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-08-17 09:48:41 +0200
commitfdb0612aa55f5c0fc321c3195ad07eae939e697e (patch)
treed20ee764f5d12f0e44ac5a142d1576d3f379dc1e
parentsys-boot/syslinux: use secureboot.eclass to sign efi exec (diff)
downloadgentoo-fdb0612aa55f5c0fc321c3195ad07eae939e697e.tar.gz
gentoo-fdb0612aa55f5c0fc321c3195ad07eae939e697e.tar.bz2
gentoo-fdb0612aa55f5c0fc321c3195ad07eae939e697e.zip
sys-firmware/edk2-ovmf-bin: use secureboot.eclass to sign efi exec
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r--sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild b/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild
index de6d9fb8ae2d..2a1a7048cbce 100644
--- a/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild
+++ b/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.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 readme.gentoo-r1
+inherit readme.gentoo-r1 secureboot
BINPKG="${P/-bin/}-1"
@@ -61,6 +61,8 @@ src_install() {
rm "usr/share/doc/${PF}/README.gentoo.bz2"
mv usr "${ED}" || die
+ secureboot_auto_sign --in-place
+
readme.gentoo_create_doc
}