1 |
I thought that this was in the top 4 lines of the kernel Makefile. |
2 |
It's embedded in the kernel after the kernel is compiled. |
3 |
Example is from my servers below for the 2.4 kernel. |
4 |
The extraversion line is set to whatever I want...it just appends |
5 |
that to the end of kernel name...so if you want to have two 2.4.31 |
6 |
kernels you just change the extra version to something different |
7 |
to differenciate between the kernels. |
8 |
|
9 |
Standard location is going to be /usr/src/linux/Makefile |
10 |
|
11 |
*VERSION = 2 |
12 |
PATCHLEVEL = 4 |
13 |
SUBLEVEL = 31 |
14 |
EXTRAVERSION = -gentoo-r1* |
15 |
|
16 |
*KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)* |
17 |
|
18 |
|
19 |
|
20 |
On 1/29/06, Ernie Schroder <schroder@×××××.net> wrote: |
21 |
> |
22 |
> On Sunday 29 January 2006 11:29, a tiny voice compelled Neil Bothwick to |
23 |
> write: |
24 |
> > On Sun, 29 Jan 2006 10:33:39 -0500, Ernie Schroder wrote: |
25 |
> > > $ grep VERSION /usr/src/linux/.config |
26 |
> > > CONFIG_LOCALVERSION="2.6.14-r-4_new" |
27 |
> > > |
28 |
> > > Hmm that seems to be it. It would appear that I have to rebuild the |
29 |
> > > kernel with appropriate version descriptor. I used my old config and |
30 |
> > > added the 2.6.14-r4-new string when I built that kernel. |
31 |
> > |
32 |
> > You need to set it to "", but it's not critical for now. |
33 |
> |
34 |
> So true! I am annoyed by this but as far as I can see, the only way to get |
35 |
> rid |
36 |
> of the string is to rebuild my kernel. I guess I'll wait for the next |
37 |
> version |
38 |
> bump. |
39 |
> |
40 |
> -- |
41 |
> Regards, Ernie |
42 |
> -- |
43 |
> gentoo-user@g.o mailing list |
44 |
> |
45 |
> |