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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9A15E15812D for ; Mon, 06 Jan 2025 20:26:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDCE0E0769; Mon, 06 Jan 2025 20:26:00 +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 CA771E0769 for ; Mon, 06 Jan 2025 20:26:00 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2283B335C52 for ; Mon, 06 Jan 2025 20:26:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 843F2AED for ; Mon, 06 Jan 2025 20:25:58 +0000 (UTC) From: "Nowa 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, "Nowa Ammerlaan" Message-ID: <1736195133.07dd6fa527001c5f877c668bf8036f3a2453135f.nowa@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/kernel-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: nowa X-VCS-Committer-Name: Nowa Ammerlaan X-VCS-Revision: 07dd6fa527001c5f877c668bf8036f3a2453135f X-VCS-Branch: master Date: Mon, 06 Jan 2025 20:25:58 +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: 751cfc71-26b4-4206-a0ac-83ac1e28e554 X-Archives-Hash: 79be1f5a1fcddbeb9e5134ab56d6ceb9 commit: 07dd6fa527001c5f877c668bf8036f3a2453135f Author: Nowa Ammerlaan gentoo org> AuthorDate: Mon Jan 6 17:27:42 2025 +0000 Commit: Nowa Ammerlaan gentoo org> CommitDate: Mon Jan 6 20:25:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07dd6fa5 kernel-build.eclass: resolve configure problem with USE=secureboot if no keys set, then secureboot.eclass now inherits linux-info.eclass to check for potential key candidates in the kernel config. This would set KV_FULL and create a mess later on in the configure phase. Ensure that KV_FULL remains local to the setup phase specifically for the kernel packages. Signed-off-by: Nowa Ammerlaan gentoo.org> eclass/kernel-build.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index e3175453fea7..8f3346bb4874 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass @@ -137,6 +137,9 @@ fi kernel-build_pkg_setup() { python-any-r1_pkg_setup if [[ ${KERNEL_IUSE_MODULES_SIGN} && ${MERGE_TYPE} != binary ]]; then + # inherits linux-info to check config values for keys + # ensure KV_FULL will not be set globally, that breaks configure + local KV_FULL secureboot_pkg_setup if use modules-sign && [[ -n ${MODULES_SIGN_KEY} ]]; then