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 E23DB15815E for ; Fri, 2 Feb 2024 06:28:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E5DEE2AE1; 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 4BD25E2AE1 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 5B85634322B 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 9FF6014C7 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: <1706854573.97dd9dc654a71cc4ee30ee97c803af3313a50b97.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/kexec-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/kexec-tools/kexec-tools-2.0.22.ebuild sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild sys-apps/kexec-tools/kexec-tools-9999.ebuild X-VCS-Directories: sys-apps/kexec-tools/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 97dd9dc654a71cc4ee30ee97c803af3313a50b97 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: fc1af5a9-24d3-4076-8005-550750bafd78 X-Archives-Hash: 00c6d3b5726c9f1b341e7d076960eb3e commit: 97dd9dc654a71cc4ee30ee97c803af3313a50b97 Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed Jan 31 08:49:09 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Feb 2 06:16:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97dd9dc6 sys-apps/kexec-tools: add installkernel as optfeature package installs /etc/kernel/postinst.d/90_kexec which will be executed by traditional installkernel (i.e. if the systemd-kernel-install flag is disabled). Signed-off-by: Andrew Ammerlaan gentoo.org> sys-apps/kexec-tools/kexec-tools-2.0.22.ebuild | 7 +++++-- sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild | 7 +++++-- sys-apps/kexec-tools/kexec-tools-9999.ebuild | 7 +++++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.22.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.22.ebuild index c92e41d36170..2f8eea8c0dee 100644 --- a/sys-apps/kexec-tools/kexec-tools-2.0.22.ebuild +++ b/sys-apps/kexec-tools/kexec-tools-2.0.22.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit libtool linux-info systemd +inherit libtool linux-info optfeature systemd if [[ ${PV} == "9999" ]] ; then inherit git-r3 autotools @@ -121,4 +121,7 @@ pkg_postinst() { ewarn "in case running system and initramfs do not agree on detected" ewarn "root device name!" fi + + optfeature "automatically updating /etc/kexec.conf on each kernel installation" \ + "sys-kernel/installkernel[-systemd]" } diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild index bfdda831e42d..924cf21eef4a 100644 --- a/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild +++ b/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit libtool linux-info systemd +inherit libtool linux-info optfeature systemd if [[ ${PV} == "9999" ]] ; then inherit git-r3 autotools @@ -125,4 +125,7 @@ pkg_postinst() { ewarn "in case running system and initramfs do not agree on detected" ewarn "root device name!" fi + + optfeature "automatically updating /etc/kexec.conf on each kernel installation" \ + "sys-kernel/installkernel[-systemd]" } diff --git a/sys-apps/kexec-tools/kexec-tools-9999.ebuild b/sys-apps/kexec-tools/kexec-tools-9999.ebuild index 76fed6da99d0..156d90887fc7 100644 --- a/sys-apps/kexec-tools/kexec-tools-9999.ebuild +++ b/sys-apps/kexec-tools/kexec-tools-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit libtool linux-info systemd +inherit libtool linux-info optfeature systemd if [[ ${PV} == "9999" ]] ; then inherit git-r3 autotools @@ -125,4 +125,7 @@ pkg_postinst() { ewarn "in case running system and initramfs do not agree on detected" ewarn "root device name!" fi + + optfeature "automatically updating /etc/kexec.conf on each kernel installation" \ + "sys-kernel/installkernel[-systemd]" }