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 41EE615815E for ; Fri, 2 Feb 2024 06:28:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99521E2AE2; Fri, 2 Feb 2024 06:28:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 7C28EE2AE2 for ; Fri, 2 Feb 2024 06:28:36 +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 6D4F0343244 for ; Fri, 2 Feb 2024 06:28:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9C5614CA for ; Fri, 2 Feb 2024 06:28:32 +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: <1706854575.1404bae96d0ffc05360f115e14eed5b569ffaa41.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/sbctl/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/sbctl/sbctl-0.11.ebuild app-crypt/sbctl/sbctl-0.12.ebuild app-crypt/sbctl/sbctl-0.13.ebuild X-VCS-Directories: app-crypt/sbctl/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 1404bae96d0ffc05360f115e14eed5b569ffaa41 X-VCS-Branch: master Date: Fri, 2 Feb 2024 06:28:32 +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: 514c7821-f5fe-4667-9ef1-b5725fbfa093 X-Archives-Hash: 360a7c3ca07f6356d6dcf687f1306a62 commit: 1404bae96d0ffc05360f115e14eed5b569ffaa41 Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed Jan 31 08:59:25 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Feb 2 06:16:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1404bae9 app-crypt/sbctl: add installkernel as optfeature package installs /usr/lib/kernel/install.d/91-sbctl.install which will be executed by systemd's kernel-install (i.e. if the systemd-kernel-install flag is enabled). Signed-off-by: Andrew Ammerlaan gentoo.org> app-crypt/sbctl/sbctl-0.11.ebuild | 7 ++++++- app-crypt/sbctl/sbctl-0.12.ebuild | 7 ++++++- app-crypt/sbctl/sbctl-0.13.ebuild | 9 +++++++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/app-crypt/sbctl/sbctl-0.11.ebuild b/app-crypt/sbctl/sbctl-0.11.ebuild index 98476cfb9a1d..a6a4c9eaf55c 100644 --- a/app-crypt/sbctl/sbctl-0.11.ebuild +++ b/app-crypt/sbctl/sbctl-0.11.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,3 +31,8 @@ src_unpack() { src_install() { emake PREFIX="${ED}/usr" install } + +pkg_postinst() { + optfeature "automatically signing installed kernels with sbctl keys on each kernel installation" \ + "sys-kernel/installkernel[systemd]" +} diff --git a/app-crypt/sbctl/sbctl-0.12.ebuild b/app-crypt/sbctl/sbctl-0.12.ebuild index 6d78f5f02945..a6e253342933 100644 --- a/app-crypt/sbctl/sbctl-0.12.ebuild +++ b/app-crypt/sbctl/sbctl-0.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,3 +31,8 @@ src_unpack() { src_install() { emake PREFIX="${ED}/usr" install } + +pkg_postinst() { + optfeature "automatically signing installed kernels with sbctl keys on each kernel installation" \ + "sys-kernel/installkernel[systemd]" +} diff --git a/app-crypt/sbctl/sbctl-0.13.ebuild b/app-crypt/sbctl/sbctl-0.13.ebuild index 6d78f5f02945..97f67663daf4 100644 --- a/app-crypt/sbctl/sbctl-0.13.ebuild +++ b/app-crypt/sbctl/sbctl-0.13.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit go-module verify-sig +inherit go-module optfeature verify-sig DESCRIPTION="Secure Boot key manager" HOMEPAGE="https://github.com/Foxboron/sbctl" @@ -31,3 +31,8 @@ src_unpack() { src_install() { emake PREFIX="${ED}/usr" install } + +pkg_postinst() { + optfeature "automatically signing installed kernels with sbctl keys on each kernel installation" \ + "sys-kernel/installkernel[systemd]" +}