public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Append string on Kernel builds
Date: Tue, 20 Jan 2009 14:11:22 +0000	[thread overview]
Message-ID: <20090120141122.46b8362c@krikkit> (raw)
In-Reply-To: <uocy7f0c3.fsf@newsguy.com>

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

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.


-- 
Neil Bothwick

Electrocution, n.:
Burning at the stake with all the modern improvements.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

      parent reply	other threads:[~2009-01-20 14:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-16 20:43 [gentoo-user] Append string on Kernel builds reader
2009-01-16 20:58 ` Dirk Heinrichs
2009-01-17  0:46   ` Norberto Bensa
2009-01-17  1:36   ` [gentoo-user] " reader
2009-01-17 12:31     ` Robert Bridge
2009-01-17 14:45       ` Harry Putnam
2009-01-18 15:57         ` David Relson
2009-01-18 17:27           ` Harry Putnam
2009-01-20 14:11 ` Neil Bothwick [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090120141122.46b8362c@krikkit \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox