Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEFAULT_KERNEL_CONFIG is mostly ignored #24

Open
axlslak opened this issue Feb 9, 2019 · 0 comments
Open

DEFAULT_KERNEL_CONFIG is mostly ignored #24

axlslak opened this issue Feb 9, 2019 · 0 comments

Comments

@axlslak
Copy link

axlslak commented Feb 9, 2019

I couldn't figure out why the DEFAULT_KERNEL_CONFIG is ignored from genkernel.conf and why I had to manually use --kernel-config every time. So in gen_configkernel.sh, turns out the options are laid out as follows:

determine_config_file() {
for f in
"${CMD_KERNEL_CONFIG}"
"/etc/kernels/kernel-config-${ARCH}-${KV}"
"${GK_SHARE}/arch/${ARCH}/kernel-config-${KV}"
"${GK_SHARE}/arch/${ARCH}/kernel-config-${VER}.${PAT}"
"${GK_SHARE}/arch/${ARCH}/generated-config"
"${GK_SHARE}/arch/${ARCH}/kernel-config"
"${DEFAULT_KERNEL_CONFIG}"

Shouldn't ${DEFAULT_KERNEL_CONFIG} be second on the list, right after ${CMD_KERNEL_CONFIG}? It would make more sense if someone has set it to something in the config, to use that instead of a generated config (which is what mine wanted to do).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant