Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56627

Summary: Genkernel not using previous config from /etc/kernels
Product: Gentoo Linux Reporter: Yogesh <ysharma>
Component: [OLD] UnspecifiedAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yogesh 2004-07-10 11:18:20 UTC
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
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-07-11 03:47:18 UTC
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?
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-07-11 03:47:44 UTC
Sorry, that should be "genkernel --kernel-config=<file>".
Comment 3 Yogesh 2004-07-11 06:58:09 UTC
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.