On 11/9/2011 2:04 AM, Mick wrote:
On Wednesday 09 Nov 2011 02:43:43 Mike Edenfield wrote:
On 11/6/2011 8:54 PM, Dale wrote:
Mine is like this:

-rw-r--r-- 1 root root 4547936 Aug 22 03:53
/boot/bzImage-3.0.3-1
-rw-r--r-- 1 root root 4548640 Sep  1 07:19
/boot/bzImage-3.0.4-1
-rw-r--r-- 1 root root 5162752 Oct 12 21:49
/boot/bzImage-3.0.4-2
-rw-r--r-- 1 root root 5167840 Oct 13 00:05
/boot/bzImage-3.0.6-1
-rw-r--r-- 1 root root 5167776 Oct 19 02:14
/boot/bzImage-3.0.7-1


The last number is how many times it took to get a stable
one.  Sometimes it is one, sometimes two.  I would also like
to see how make install does it nowadays.  Maybe worth
another try.

Oh, I name the config files the same as the kernel too.  Am
I OCD?  o_O

Nope, that's also how `make install` does it:

basement boot # ls -l
total 7060
lrwxrwxrwx. 1 root root      41 Aug 18 15:35 System.map ->
System.map-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root 1484083 Aug 18 15:26
System.map-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root 1484083 Aug 18 15:35
System.map-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root      41 Aug 18 15:26 System.map.old
->  System.map-2.6.39-hardened-r10-basement-0
lrwxrwxrwx. 1 root root       1 Oct  3  2009 boot ->  .
lrwxrwxrwx. 1 root root      37 Aug 18 15:35 config ->
config-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root   51983 Aug 18 15:26
config-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root   51983 Aug 18 15:35
config-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root      37 Aug 18 15:26 config.old ->
config-2.6.39-hardened-r10-basement-0
drwxr-xr-x. 2 root root    4096 Aug 18 15:37 grub
drwx------. 2 root root   16384 Oct  3  2009 lost+found
lrwxrwxrwx. 1 root root      38 Aug 18 15:35 vmlinuz ->
vmlinuz-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root 2027168 Aug 18 15:26
vmlinuz-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root 2026816 Aug 18 15:35
vmlinuz-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root      38 Aug 18 15:26 vmlinuz.old ->
vmlinuz-2.6.39-hardened-r10-basement-0

Note that, to get the name/number scheme, I also have:

basement linux # cd /usr/src/linux
basement linux # cat localversion1
-basement-
basement linux # cat localversion2
2
basement linux # ls -l localversion*
-rw-r--r--. 1 root root 11 Aug 14 09:07 localversion1
lrwxrwxrwx. 1 root root  8 Aug 18 15:34 localversion2 ->
.version

Are you saying then that every time you download new source files you have to
create or cp new localversion* files in /usr/src/linux/ for this auto-numbering
to work?

Yeah, though I wouldn't be surprised if there was already a way to automate this that I just haven't bothered to learn. For now I just create them again each time I change my /usr/src/linux symlink:

basement ~ # cd /usr/src/linux
basement linux # cp ~/localversion* .
basement linux # ln -sf localversion2 .version

--Mike

Reply via email to