Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268386 - sys-kernel/genkernel: OLDCONFIG="yes" in /etc/genkernel.conf doesn't import old .config
Summary: sys-kernel/genkernel: OLDCONFIG="yes" in /etc/genkernel.conf doesn't import o...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 04:01 UTC by Timothy Miller
Modified: 2009-05-04 18:44 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 Timothy Miller 2009-05-03 04:01:47 UTC
I use genkernel (version 3.4.10.903).  In /etc/genkernel.conf, I have set OLDCONFIG="yes", as well as MENUCONFIG="yes", because I need some custom settings.  I have found that none of my old settings get copied over.  I had come to understand that genkernel kept its own kernel config somewhere besides the kernel sources, and that it would automatically copy in the old config.  But apparently this doesn't happen, and I have to manually reconfigure my settings.

Reproducible: Always
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2009-05-04 12:37:50 UTC
All that OLDCONFIG=yes does it run 'make oldconfig'. If you want to use a .config from a previous kernel, you have to specifically point genkernel at it with the --config option.
Comment 2 Timothy Miller 2009-05-04 18:44:38 UTC
Ok.  I must have missed that.  I didn't see it in the docs.  

Anyhow, how about this as a feature request:  Have genkernel be smart about the oldconfig option.  If you haven't specified one, and it doesn't see that you've copied anything manually, the only logical thing left to do is to go looking for the config for the most recent kernel.  (Rather than silently fail, which is what it did, which is always a bad thing to do.)

So I don't think this bug is invalid.  There were no messages of any kind that I had done anything invalid.  If I tell it to do oldconfig, and there is no oldconfig file, then that's an error condition.