Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] make oldconfig ?
Date: Tue, 19 Apr 2016 06:55:34
Message-Id: CAJ1xhMVOE_8zLrgKuQoODnwk-FEaJLvhe42S+RDNSmaOXg1ZtA@mail.gmail.com
In Reply to: [gentoo-user] make oldconfig ? by James
1 On Tue, Apr 19, 2016 at 5:01 AM, James <wireless@×××××××××××.com> wrote:
2 > Hello,
3 >
4 > After copying the current ".config" to the newly linked sources
5 > (/usr/src/linux) I use to run 'make oldconfig'. Now, looking at
6 > the gentoo wiki [1] I see (2) choices but no 'make oldconfig'::
7 >
8 > 1) #make silentoldconfig
9 >
10 > 2) #make olddefconfig
11 >
12 > 3) #make oldconfig
13 >
14 > (3) still seems to work. (2) uses defaults so I do not want that, but
15 > what about (1)? What's the difference between (1) and (3) ? Where do
16 > I read about them of find the sources?
17 >
18 > I did notice after running (3) and then 'make && make modules install'
19 > the slilentoldconfig script was ran (it flashed by quickly)::
20 >
21 > scripts/kconfig/conf --silentoldconfig Kconfig
22 >
23 > Evidently, I'm a step behind kernel building semantics....
24 >
25 > curiously,
26 > James
27 >
28 >
29 > [1] https://wiki.gentoo.org/wiki/Kernel/Upgrade
30 >
31 >
32 >
33 >
34
35 Although not specific to the question asked, but just an observation I
36 have made, when using 'make oldconfig', copying the current '.config'
37 to the directory containing the sources for the new kernel is not
38 required, provided 'make install' was used to install the previous
39 kernel, which would have put the config file into the boot directory.
40 'make oldconfig' uses the config file for the old kernel found in the
41 '/boot' directory to generate a new '.config' file.

Replies

Subject Author
[gentoo-user] Re: make oldconfig ? James <wireless@×××××××××××.com>