From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LPHKI-0003JL-IF for garchives@archives.gentoo.org; Tue, 20 Jan 2009 14:11:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B99EDE0228; Tue, 20 Jan 2009 14:11:32 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 7F04BE0228 for ; Tue, 20 Jan 2009 14:11:32 +0000 (UTC) Received: from krikkit (krikkit.digimed.co.uk [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.digimed.co.uk (Postfix) with ESMTPSA id CE413457008 for ; Tue, 20 Jan 2009 14:11:31 +0000 (GMT) Date: Tue, 20 Jan 2009 14:11:22 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Append string on Kernel builds Message-ID: <20090120141122.46b8362c@krikkit> In-Reply-To: References: Organization: Digital Media Production X-Mailer: Claws Mail 3.7.0cvs38 (GTK+ 2.14.7; i686-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/okQ6YjVn8+=RydlRoImdxA1"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 8cef9347-ac77-40d6-bf3c-f8f4a13c0501 X-Archives-Hash: bb6d272401b3d58e4415d53a2f374f3e --Sig_/okQ6YjVn8+=RydlRoImdxA1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 16 Jan 2009 14:43:56 -0600, reader@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. --=20 Neil Bothwick Electrocution, n.: Burning at the stake with all the modern improvements. --Sig_/okQ6YjVn8+=RydlRoImdxA1 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkl125AACgkQum4al0N1GQPbpwCePaQ/iQXymANvquY42A9RdLt5 cV0AnjdUdas0K8ir6Ny3dn2YGWSVkYyL =1L0w -----END PGP SIGNATURE----- --Sig_/okQ6YjVn8+=RydlRoImdxA1--