commit: 9cfc9c6b7f79a23d7f127b8d83534f264fa1df56 Author: Dmitriy Baranov <reagentoo <AT> gmail <DOT> com> AuthorDate: Wed Mar 6 07:48:52 2024 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> 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 <reagentoo <AT> gmail.com> Closes: https://github.com/gentoo/genkernel/pull/57 Signed-off-by: Ben Kohler <bkohler <AT> 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" )
