diff options
author | 2024-03-06 10:48:52 +0300 | |
---|---|---|
committer | 2024-05-20 07:58:59 -0500 | |
commit | 9cfc9c6b7f79a23d7f127b8d83534f264fa1df56 (patch) | |
tree | 59f6a66cd8e22d265c0d55955cc13932e1d59897 | |
parent | gen_initramfs.sh: fix gen_die message in append_modules() (diff) | |
download | genkernel-9cfc9c6b7f79a23d7f127b8d83534f264fa1df56.tar.gz genkernel-9cfc9c6b7f79a23d7f127b8d83534f264fa1df56.tar.bz2 genkernel-9cfc9c6b7f79a23d7f127b8d83534f264fa1df56.zip |
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@gmail.com>
Closes: https://github.com/gentoo/genkernel/pull/57
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
-rwxr-xr-x | gen_configkernel.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gen_configkernel.sh b/gen_configkernel.sh index 0158e463..5d3e3125 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" ) |