Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56627 - Genkernel not using previous config from /etc/kernels
Summary: Genkernel not using previous config from /etc/kernels
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-10 11:18 UTC by Yogesh
Modified: 2004-07-11 06:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.