Re: [gentoo-user] Append string on Kernel builds

2009-01-20 Thread Neil Bothwick
On Fri, 16 Jan 2009 14:43:56 -0600, rea...@newsguy.com wrote:

 I like to use that and put `-$MYHOST' as string.  I wondered if there
 is any way to set a numericly incrementing string.  Maybe some trick
 syntax that can go in that spot?

cd /usr/src/linux
echo -${MYHOST}- localversion1
ln -s .version localversion2

The build system adds the contents of any localversion* files it finds,
and it also increments .version.


-- 
Neil Bothwick

Electrocution, n.:
Burning at the stake with all the modern improvements.


signature.asc
Description: PGP signature


[gentoo-user] Append string on Kernel builds

2009-01-16 Thread reader
In the first section during a `makeconfig' session, there is a line
(the second one) that says:

  Local Version - append to kernel release

I like to use that and put `-$MYHOST' as string.  I wondered if there
is any way to set a numericly incrementing string.  Maybe some trick
syntax that can go in that spot?




Re: [gentoo-user] Append string on Kernel builds

2009-01-16 Thread Dirk Heinrichs
Am Freitag, 16. Januar 2009 21:43:56 schrieb rea...@newsguy.com:
 In the first section during a `makeconfig' session, there is a line
 (the second one) that says:

   Local Version - append to kernel release

 I like to use that and put `-$MYHOST' as string.  I wondered if there
 is any way to set a numericly incrementing string.  Maybe some trick
 syntax that can go in that spot?

The build system does that automatically as long as you don't make mrproper, 
see uname -a output.

HTH...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Append string on Kernel builds

2009-01-16 Thread Norberto Bensa
On Friday January 16 2009 18:58:55 Dirk Heinrichs wrote:
 The build system does that automatically as long as you don't make
 mrproper, 

You can backup .version