I emerge world which gives me the 2.4.25_pre7-gss-r8 kernel, I change symlink of /usr/src/linux to this new kernel and ran genkernel all hoping that it will pick /etc/kernels/kernel-config-x86-2.4.25_pre7-gss-r6 but it tries to use /usr/share/genkernel/x86/kernel-config-2.4 as it fails to find /etc/kernels/kernel-config-x86-2.4.25_pre7-gss-r8 Reproducible: Always Steps to Reproduce: 1.genkernel all Actual Results: If uses gentoo default config Expected Results: It should use system default config
I don't see how this is a bug - if /etc/kernels/kernel-config-x86-2.4.25_pre7-gss-r8 is not there, it can't use it. It won't use the other .config since it does not match the kernel version. Maybe "genkernel --config-file=<config>" is what you need?
Sorry, that should be "genkernel --kernel-config=<file>".
I remember correctly, earlier version used to behave like this. If you have 2.4.25_pre7-gs installed it used pick that one for building r* releases. I still believe that should be the desired behaviour as 2.4.25_pre7-gs-r6 and 2.4.25_pre7-gs-r8 contains same base kernel.