Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128094 - Feature request: eselect kernel, option to automatically copy ".config"
Summary: Feature request: eselect kernel, option to automatically copy ".config"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2006-03-30 02:42 UTC by Bernd Pachur
Modified: 2011-03-12 17:38 UTC (History)
3 users (show)

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 Bernd Pachur 2006-03-30 02:42:38 UTC
eselect kernel needs an option to automatically copy ".config" from the old src-dir to the new one, when the symlink is changed.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 02:49:54 UTC
Bad idea to blindly reuse old .configs, IMHO... especially between different kernel patchsets.
Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2006-03-30 03:02:59 UTC
(In reply to comment #1)
> Bad idea to blindly reuse old .configs, IMHO...

I agree, but it could be followed by a message about running make oldconfig.
(i.e., so it is not done blindly anymore).
Comment 3 Bernd Pachur 2006-03-30 03:09:47 UTC
sorry for not writing so, but of course there should be a message about using "make oldconfig".
just missed to write it, because it was so obvious for me.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 04:31:35 UTC
That was not entirely what I suggested - make oldconfig just tends to produce crap for me if the kernels are too many versions apart or too different. 
Comment 5 Bernd Pachur 2006-03-30 04:47:07 UTC
i never had that problem but i tend to upgrade my kernel regularly.

nonetheless there should be an option to autocopy ".config".

it will still be an _option_ and the message can be there.
Comment 6 Ciaran McCreesh 2006-03-30 08:08:18 UTC
Interesting idea. Go into a bit more depth of how you think it should work exactly please.
Comment 7 Danny van Dyk (RETIRED) gentoo-dev 2006-06-11 07:25:21 UTC
Bernd: Ping? Please provided with more details on how you want this
feature to work. I.e, when switching from version A to B, and B has a '.config'
file already, what should be done? This is you feature request after all.
Comment 8 Bernd Pachur 2006-06-12 02:36:37 UTC
sorry for not answering earlier. i never got the info-mail.

my ideas are:

1. two additional options:
 --no-config-update
 and
 --config-update

either can be default.

2. if no option is given, some default behavior combined with a question.
 e.g.: do you additionaly want to update your config?
if option is given, do as wished without further questions.

3. copy .config file from old kernel-dir to new dir and either call "make oldconfig" or inform the user that he must call "make oldconfig" manually.

4. probably some check of kernel-versions. if the versions differe to much (e.g.: different major version ;) ) utter a big warning, that the user should carefully check what happens during "make oldconfig" or that "make oldconfig" may fail.
Comment 9 Weedy 2007-03-04 14:17:27 UTC
i would like to have the option as well.
Comment 10 Ulrich Müller gentoo-dev 2009-05-19 10:20:30 UTC
Still interested in this feature? Then reopen this bug and attach a patch please.
Comment 11 Ulrich Müller gentoo-dev 2011-03-12 17:38:45 UTC
(In reply to comment #10)
> Still interested in this feature? Then reopen this bug and attach a patch
> please.

Seems not. WONTFIX then.