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 055B015815E for ; Fri, 2 Feb 2024 06:28:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E63B2E2AE3; Fri, 2 Feb 2024 06:28:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 CF673E2AE4 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 7360D3431FF 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 EDE1514CB 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: <1706854576.c28bd3b90e19fa157e19d017e70fc5c4832de14d.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/kernel-2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: c28bd3b90e19fa157e19d017e70fc5c4832de14d 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: 45b61676-380c-492f-8a28-70c22c612345 X-Archives-Hash: 01a7d9a87e11c5db3d3e3a6ed18ac780 commit: c28bd3b90e19fa157e19d017e70fc5c4832de14d Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed Jan 31 10:09:57 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Feb 2 06:16:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c28bd3b9 kernel-2.eclass: add installkernel as optfeature Signed-off-by: Andrew Ammerlaan gentoo.org> eclass/kernel-2.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 55b59fd9e90f..ffbe986f3e87 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -288,7 +288,7 @@ # Moved this above inherit as crossdev.eclass uses CHOST internally. [[ ${PROFILE_ARCH} == ppc64 ]] && CHOST="powerpc64-${CHOST#*-}" -inherit crossdev estack multiprocessing toolchain-funcs +inherit crossdev estack multiprocessing optfeature toolchain-funcs case ${EAPI} in 7|8) ;; @@ -992,6 +992,9 @@ postinst_sources() { fi fi fi + + optfeature "versioned kernel image installation and optionally automating tasks such as generating an initramfs or unified kernel image" \ + "sys-kernel/installkernel" } # pkg_setup functions