From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A096F15801B for ; Thu, 17 Aug 2023 07:49:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E357F2BC01E; Thu, 17 Aug 2023 07:49:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CEE972BC01D for ; Thu, 17 Aug 2023 07:49:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EE1E4340806 for ; Thu, 17 Aug 2023 07:49:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D357FCC for ; Thu, 17 Aug 2023 07:49:24 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1692258527.46fb943fda974af0a22f1852fed312deb90c2ecf.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-firmware/ipxe/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild X-VCS-Directories: sys-firmware/ipxe/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 46fb943fda974af0a22f1852fed312deb90c2ecf X-VCS-Branch: master Date: Thu, 17 Aug 2023 07:49:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 23a941c8-0d6e-4926-b3ba-89d02d669ae9 X-Archives-Hash: f47903a5f60e2eb026c566f6265f2cd0 commit: 46fb943fda974af0a22f1852fed312deb90c2ecf Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun Jul 16 08:27:03 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Aug 17 07:48:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46fb943f sys-firmware/ipxe: use secureboot.eclass to sign efi exec Signed-off-by: Andrew Ammerlaan gentoo.org> sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild b/sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild index 8123927dca19..8f24b1ebc727 100644 --- a/sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild +++ b/sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit savedconfig toolchain-funcs +inherit savedconfig secureboot toolchain-funcs # for 1.21.1_p20230601 COMMIT_SHA1="4fa4052c7ebb59e4d4aa396f1563c89118623ec7" @@ -34,6 +34,12 @@ BDEPEND=" x86? ( ${SOURCE_DEPEND} ) )" +pkg_setup() { + if use efi || use efi64; then + secureboot_pkg_setup + fi +} + src_configure() { use binary && return @@ -123,5 +129,9 @@ src_install() { use usb && doins bin/*.usb use lkrn && doins bin/*.lkrn + if use efi || use efi64; then + secureboot_auto_sign --in-place + fi + save_config config/local/general.h }