From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MFV5Y-00080W-3x for garchives@archives.gentoo.org; Sat, 13 Jun 2009 15:24:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75F47E03F6; Sat, 13 Jun 2009 15:24:10 +0000 (UTC) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by pigeon.gentoo.org (Postfix) with ESMTP id 38504E03F6 for ; Sat, 13 Jun 2009 15:24:10 +0000 (UTC) Received: by ewy24 with SMTP id 24so65348ewy.34 for ; Sat, 13 Jun 2009 08:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=QblwzFE/OOcbjd4O9pkalEX0Oi+hy9GmwkUyhIWaoHc=; b=oDJzqiu3lslrK1ik7/m036QpLbUGYbxbBINX4MvhAOVgqGiDzLGpf5By7nkdjKA2F2 jCavn5c2CAhowy8uaQ5puGh43/uk1ewlk2W4nq0DRB/x/yH+P5nmE0neyu0L46FoYr4b 1FCh9tD84VLnEBvxS4hnHnG1fCrYVoGqt5DKM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=puxHGGUgMIMy7m8mwYUQuJTlZ4a+9chLwjxI0ABaDyVcogH/ZtthQy7CWrVT1r1+f+ vrn0rH+855wENxiTGNMLyxnT7IvParqz/h+/+MflWvtuK9Y3yocm0OMi+mt5wLi6ID3t cwDpsiljrI/1Nwt81bkCj+B3lm9ivs8LTQXG8= Received: by 10.210.41.1 with SMTP id o1mr932282ebo.96.1244906649646; Sat, 13 Jun 2009 08:24:09 -0700 (PDT) Received: from nazgul.localnet (196-210-153-123-rrdg-esr-2.dynamic.isadsl.co.za [196.210.153.123]) by mx.google.com with ESMTPS id 7sm102973eyb.45.2009.06.13.08.24.08 (version=SSLv3 cipher=RC4-MD5); Sat, 13 Jun 2009 08:24:09 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] set local kenel version Date: Sat, 13 Jun 2009 17:22:38 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.30-gentoo-r1; KDE/4.2.4; x86_64; ; ) References: In-Reply-To: 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: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906131722.38525.alan.mckinnon@gmail.com> X-Archives-Salt: 6366876a-37a5-41e7-ba87-2bffc5d052d4 X-Archives-Hash: 8ffb5db47c5ba6801ce74feeba7b51c7 On Saturday 13 June 2009 16:27:48 Harry Putnam wrote: > Setting a version to local kernel builds has been discussed here so > sorry to bang on it some more. > > I found information here from a previous thread and kept one of the > answers but finding now that I don't really understand it. > > Or am doing the proceedure wrong. > > It was Neil B's post: > > From: Neil Bothwick > Subject: Re: Append string on Kernel builds > Newsgroups: gmane.linux.gentoo.user > To: gentoo-user@lists.gentoo.org > Date: Tue, 20 Jan 2009 14:11:22 +0000 > Message-ID: <20090120141122.46b8362c@krikkit> > > 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. > > > But when I try this I get only the $MYHOST part (in this case > host=reader) and not the increment. > > So for linux-2.6.30-gentoo-r1 > > and in /usr/src/linux > cat localverion1: > _reader_ > > Cat .version: > 1 > And the symlink > ls -l localversion2 > lrwxrwxrwx [...] Jun 12 18:01 localversion2 -> .version > I get this naming after a build: > > vimlinuz-2.6.30-gentoo-r1_reader_ > > No version gets appended. > > I understood it should have also append the numeric version and > increment it each time I build that kernel. > > Anyone see where I'm dorking this up? I only see two thing: Did you set both () Local version - append to kernel release [ ] Automatically append version information to the version string In "General setup"? Second, you appear to have used a file called "localverion1" instead of "localversion1" Is that a real mistake, or just a typo in your mail? -- alan dot mckinnon at gmail dot com