Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Append string on Kernel builds
Date: Tue, 20 Jan 2009 14:11:34
Message-Id: 20090120141122.46b8362c@krikkit
In Reply to: [gentoo-user] Append string on Kernel builds by reader@newsguy.com
1 On Fri, 16 Jan 2009 14:43:56 -0600, reader@×××××××.com wrote:
2
3 > I like to use that and put `-$MYHOST' as string. I wondered if there
4 > is any way to set a numericly incrementing string. Maybe some trick
5 > syntax that can go in that spot?
6
7 cd /usr/src/linux
8 echo "-${MYHOST}-" >localversion1
9 ln -s .version localversion2
10
11 The build system adds the contents of any localversion* files it finds,
12 and it also increments .version.
13
14
15 --
16 Neil Bothwick
17
18 Electrocution, n.:
19 Burning at the stake with all the modern improvements.

Attachments

File name MIME type
signature.asc application/pgp-signature