* [gentoo-user] "auto-config" of new gentoo-sources?
@ 2013-02-22 18:52 Jarry
2013-02-22 20:12 ` Mike Gilbert
0 siblings, 1 reply; 4+ messages in thread
From: Jarry @ 2013-02-22 18:52 UTC (permalink / raw
To: gentoo-user
Hi Gentoo-users,
I noticed one thing so I want to ask if it is a coincidence
or intentional behaviour. It concerns "installation" of kernel
sources (more exactly gentoo-sources).
When I installed Gentoo on new computer I followed oficial guide.
So I emerged gentoo-sources, went through "make menuconfig",
configured everything I needed, compiled kernel, installed, etc.
Now the funny thing: When I update sources (like now, 3.7.9)
and go through "make menuconfig" again (this time in new tree),
there is nearly nothing to do, except a few new features.
It looks like they are "pre-configured" exactly for me! :-)
So my question is: how is this possible? Is maybe ".config"
file from the old sources-tree copied to new sources-tree?
Or is the actual configuration of running kernel somehow
detected and ".config" file generated?
Just curious, because I think it was not always this way.
Jarry
--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] "auto-config" of new gentoo-sources?
2013-02-22 18:52 [gentoo-user] "auto-config" of new gentoo-sources? Jarry
@ 2013-02-22 20:12 ` Mike Gilbert
2013-03-09 9:09 ` Graham Murray
0 siblings, 1 reply; 4+ messages in thread
From: Mike Gilbert @ 2013-02-22 20:12 UTC (permalink / raw
To: gentoo-user
On Fri, Feb 22, 2013 at 1:52 PM, Jarry <mr.jarry@gmail.com> wrote:
> So my question is: how is this possible? Is maybe ".config"
> file from the old sources-tree copied to new sources-tree?
> Or is the actual configuration of running kernel somehow
> detected and ".config" file generated?
>
The latter. Have a look at DEFCONFIG_LIST init/Kconfig.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] "auto-config" of new gentoo-sources?
2013-02-22 20:12 ` Mike Gilbert
@ 2013-03-09 9:09 ` Graham Murray
2013-03-09 9:44 ` Nilesh Govindrajan
0 siblings, 1 reply; 4+ messages in thread
From: Graham Murray @ 2013-03-09 9:09 UTC (permalink / raw
To: gentoo-user
Mike Gilbert <floppym@gentoo.org> writes:
> On Fri, Feb 22, 2013 at 1:52 PM, Jarry <mr.jarry@gmail.com> wrote:
>> So my question is: how is this possible? Is maybe ".config"
>> file from the old sources-tree copied to new sources-tree?
>> Or is the actual configuration of running kernel somehow
>> detected and ".config" file generated?
>>
>
> The latter. Have a look at DEFCONFIG_LIST init/Kconfig.
So is it no longer necessary to run 'zcat /proc/config.gz > .config' to
transfer the current configuration as a 'seed' when installing a new
kernel?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] "auto-config" of new gentoo-sources?
2013-03-09 9:09 ` Graham Murray
@ 2013-03-09 9:44 ` Nilesh Govindrajan
0 siblings, 0 replies; 4+ messages in thread
From: Nilesh Govindrajan @ 2013-03-09 9:44 UTC (permalink / raw
To: Gentoo User Mailing List
On Sat, Mar 9, 2013 at 2:39 PM, Graham Murray <graham@gmurray.org.uk> wrote:
> Mike Gilbert <floppym@gentoo.org> writes:
>
>> On Fri, Feb 22, 2013 at 1:52 PM, Jarry <mr.jarry@gmail.com> wrote:
>>> So my question is: how is this possible? Is maybe ".config"
>>> file from the old sources-tree copied to new sources-tree?
>>> Or is the actual configuration of running kernel somehow
>>> detected and ".config" file generated?
>>>
>>
>> The latter. Have a look at DEFCONFIG_LIST init/Kconfig.
>
> So is it no longer necessary to run 'zcat /proc/config.gz > .config' to
> transfer the current configuration as a 'seed' when installing a new
> kernel?
>
That is porting your existing config to new kernel. You can't miss the
step, lol.
If you have genkernel, the simplest one would be
genkernel --kernel-config=/proc/config.gz
--
Nilesh Govindrajan
http://nileshgr.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-09 9:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-22 18:52 [gentoo-user] "auto-config" of new gentoo-sources? Jarry
2013-02-22 20:12 ` Mike Gilbert
2013-03-09 9:09 ` Graham Murray
2013-03-09 9:44 ` Nilesh Govindrajan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox