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 1LO07i-0006PE-0v for garchives@archives.gentoo.org; Sat, 17 Jan 2009 01:37:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4350E046B; Sat, 17 Jan 2009 01:37:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 70785E046B for ; Sat, 17 Jan 2009 01:37:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B3D566443D for ; Sat, 17 Jan 2009 01:37:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.529 X-Spam-Level: X-Spam-Status: No, score=-3.529 required=5.5 tests=[AWL=0.070, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8hH53lBCWaTH for ; Sat, 17 Jan 2009 01:37:02 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 154F8643AD for ; Sat, 17 Jan 2009 01:37:00 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LO07N-0000kj-L6 for gentoo-user@gentoo.org; Sat, 17 Jan 2009 01:36:57 +0000 Received: from c-98-215-178-6.hsd1.in.comcast.net ([98.215.178.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jan 2009 01:36:57 +0000 Received: from reader by c-98-215-178-6.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jan 2009 01:36:57 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: reader@newsguy.com Subject: [gentoo-user] Re: Append string on Kernel builds Date: Fri, 16 Jan 2009 19:36:42 -0600 Organization: Still searching... Message-ID: References: <200901162159.00522.dirk.heinrichs@online.de> 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=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-6.hsd1.in.comcast.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (windows-nt) Cancel-Lock: sha1:V6esro4RLXzBRsQ6AVjMSfbEVtw= Sender: news X-Archives-Salt: 42796132-9a9a-4393-bae8-6406cf57aeee X-Archives-Hash: 9cd21df74abca13072539f7b0c6cabe5 Dirk Heinrichs writes: >> 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. No.. its not the same as what I'm talking about. When you set the item in menuconfig: General Setup/Local Version [...] The string you set there is appended to that actual build product like vmlinuz-2.6.26-gentoo-$HOST The vmlinuz that gets sent to /boot/ when you say `make install' is named that way, along with the config-XXX and System-XXX that is moved there. Keeps things kind of tidy in /boot/ if you are mucking around with several kernels. What I asked was if there is some tricky syntax I could use on that kernel setting that would do: linux-2.6.26-gentoo-$HOST-N Where N is an incremented number every time I build the kernel without running `mrproper'.