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 2807C158004 for ; Mon, 20 May 2024 12:59:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1768BE2A41; Mon, 20 May 2024 12:59:17 +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 D4A5FE2A41 for ; Mon, 20 May 2024 12:59:16 +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 E1FB433BE3B for ; Mon, 20 May 2024 12:59:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 408BF1AE8 for ; Mon, 20 May 2024 12:59:13 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1716209939.9cfc9c6b7f79a23d7f127b8d83534f264fa1df56.bkohler@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_configkernel.sh X-VCS-Directories: / X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 9cfc9c6b7f79a23d7f127b8d83534f264fa1df56 X-VCS-Branch: master Date: Mon, 20 May 2024 12:59:13 +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: 042c0d77-e2f1-407e-9790-458a15c34fc5 X-Archives-Hash: a466367b7d512e77039324b076e59751 commit: 9cfc9c6b7f79a23d7f127b8d83534f264fa1df56 Author: Dmitriy Baranov gmail com> AuthorDate: Wed Mar 6 07:48:52 2024 +0000 Commit: Ben Kohler gentoo org> CommitDate: Mon May 20 12:58:59 2024 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=9cfc9c6b gen_configkernel.sh: add priority kernel config in determine_kernel_config_file() This is useful for building an image with sys-kernel/gentoo-kernel. Signed-off-by: Dmitriy Baranov gmail.com> Closes: https://github.com/gentoo/genkernel/pull/57 Signed-off-by: Ben Kohler gentoo.org> gen_configkernel.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gen_configkernel.sh b/gen_configkernel.sh index 0158e46..5d3e312 100755 --- a/gen_configkernel.sh +++ b/gen_configkernel.sh @@ -25,6 +25,7 @@ determine_kernel_config_file() { local -a kconfig_candidates local -a gk_kconfig_candidates + gk_kconfig_candidates+=( "${KERNEL_MODULES_PREFIX%/}/lib/modules/${KV}/source/.config" ) gk_kconfig_candidates+=( "${GK_SHARE}/arch/${ARCH}/kernel-config-${KV}" ) gk_kconfig_candidates+=( "${GK_SHARE}/arch/${ARCH}/kernel-config-${VER}.${PAT}" ) gk_kconfig_candidates+=( "${GK_SHARE}/arch/${ARCH}/generated-config" )