Re: [gentoo-user] auto-config of new gentoo-sources?

2013-03-09 Thread Graham Murray
Mike Gilbert flop...@gentoo.org writes:

 On Fri, Feb 22, 2013 at 1:52 PM, Jarry mr.ja...@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?



Re: [gentoo-user] auto-config of new gentoo-sources?

2013-03-09 Thread Nilesh Govindrajan
On Sat, Mar 9, 2013 at 2:39 PM, Graham Murray gra...@gmurray.org.uk wrote:
 Mike Gilbert flop...@gentoo.org writes:

 On Fri, Feb 22, 2013 at 1:52 PM, Jarry mr.ja...@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



[gentoo-user] auto-config of new gentoo-sources?

2013-02-22 Thread Jarry

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.



Re: [gentoo-user] auto-config of new gentoo-sources?

2013-02-22 Thread Mike Gilbert
On Fri, Feb 22, 2013 at 1:52 PM, Jarry mr.ja...@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.