1 |
Alexander Kapshuk <alexander.kapshuk <at> gmail.com> writes: |
2 |
|
3 |
|
4 |
> > 1) #make silentoldconfig |
5 |
> > 2) #make olddefconfig |
6 |
> > 3) #make oldconfig |
7 |
|
8 |
> > (3) still seems to work. (2) uses defaults so I do not want that, but |
9 |
> > what about (1)? What's the difference between (1) and (3) ? Where do |
10 |
> > I read about them of find the sources? |
11 |
|
12 |
I'd still like to look at the sources for these scripts, if anybody knows |
13 |
where they are located, I have not had any luck locating the sources |
14 |
for oldconfig and the |
15 |
|
16 |
|
17 |
> > I did notice after running (3) and then 'make && make modules install' |
18 |
> > the slilentoldconfig script was ran (it flashed by quickly):: |
19 |
> > scripts/kconfig/conf --silentoldconfig Kconfig |
20 |
|
21 |
> Although not specific to the question asked, but just an observation I |
22 |
> have made, when using 'make oldconfig', copying the current '.config' |
23 |
> to the directory containing the sources for the new kernel is not |
24 |
> required, provided 'make install' was used to install the previous |
25 |
> kernel, which would have put the config file into the boot directory. |
26 |
> 'make oldconfig' uses the config file for the old kernel found in the |
27 |
> '/boot' directory to generate a new '.config' file. |
28 |
|
29 |
|
30 |
All good to know; the more reason I probably need to read those scripts, |
31 |
as I roll out my (ansible) codes for using one bank of hardware to |
32 |
setup and boot a variety of different cluster and container configurations. |
33 |
|
34 |
I thought they might be in /usr/src/linux/scripts/ but no? No hints in the |
35 |
top level Makefile either. One of the Gentoo GSoC projects is to rework |
36 |
kernel building too. Now I'm stoked to read the scripts/makefile for |
37 |
oldconfig and such.... |
38 |
|
39 |
|
40 |
curiously, |
41 |
James |