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 <gentoo-user+bounces-90228-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1LU8DE-0003aM-1Y
	for garchives@archives.gentoo.org; Mon, 02 Feb 2009 23:28:20 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F2F92E0485;
	Mon,  2 Feb 2009 23:28:18 +0000 (UTC)
Received: from mail.osagesoftware.com (osagesoftware.com [216.144.204.42])
	by pigeon.gentoo.org (Postfix) with ESMTP id C6888E0485
	for <gentoo-user@lists.gentoo.org>; Mon,  2 Feb 2009 23:28:18 +0000 (UTC)
Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10])
	by mail.osagesoftware.com (Postfix) with ESMTP id 2A8F17BC8C
	for <gentoo-user@lists.gentoo.org>; Mon,  2 Feb 2009 18:28:18 -0500 (EST)
Date: Mon, 2 Feb 2009 18:28:18 -0500
From: David Relson <relson@osagesoftware.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] localversion [was: When did bzImage move? ]
Message-ID: <20090202182818.6a604c6c@osage.osagesoftware.com>
In-Reply-To: <87eiygn9sa.fsf@newsguy.com>
References: <49850BBC.9060302@gmail.com>
	<200902010402.18188.volkerarmin@googlemail.com>
	<4985186C.2040001@gmail.com>
	<200902010442.07025.volkerarmin@googlemail.com>
	<gm390o$1og$1@ger.gmane.org>
	<20090201154807.383f6e6c@krikkit>
	<87zlh6dn5s.fsf@newsguy.com>
	<20090201191146.321605d0@krikkit>
	<87eiygn9sa.fsf@newsguy.com>
Organization: Osage Software Systems, Inc.
X-Mailer: Claws Mail 3.7.0 (GTK+ 2.12.11; x86_64-pc-linux-gnu)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 66ce2d44-be47-41f7-ac2c-34e10b584b7b
X-Archives-Hash: 63d59b9bd617f8efbb8e8af6f73af49c

On Mon, 02 Feb 2009 09:22:29 -0600
Harry Putnam wrote:

> Neil Bothwick <neil@digimed.co.uk> writes:
> 
> > cd /usr/src/linux
> > echo "$(hostname)-" >localversion1
> > ln -s .version localversion2
> >
> > will give each kernel a name with the hostname and version
> > added. .version is automatically incremented each time you run make.
> 
> I'm sorry for being so dense but that isn't clear to my pea brain
> either.
> 
> The idea from above is to end up with:
> 
> localversion1
> localversion2 -> .version
> .version
> 
> Where:
>    localversion1 contains HOSTNAME
>    .version contains number `N' (current build)
>    localversion2 is symlinked to .version
> 
> All under /usr/src/linux ?
> 
> If you're sick of trying to explain it to me... maybe a pointer to the
> documentation? 
> 

With LOCALVERSION="-aaa" in linux/.config
and  "-bbb-" in linux/localversion1
and  "3"     in linux/.version
and  a symlink from localversion2 to .version
running "genkernel all" produces a kernel named "linux-2.6.28-bbb-3-aaa"