From: Ryan Anderson <ryan@michonline.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: [PATCH] Auto-append localversion for BK users needs to use CONFIG_SHELL
Date: Sat, 12 Mar 2005 23:32:29 -0500 [thread overview]
Message-ID: <20050313043229.GA7828@mythryan2.michonline.com> (raw)
In-Reply-To: <20050310054011.GA8287@mars.ravnborg.org>
(trimming cc: down a bit)
On Thu, Mar 10, 2005 at 06:40:11AM +0100, Sam Ravnborg wrote:
> On Wed, Mar 09, 2005 at 06:25:56PM -0800, Linus Torvalds wrote:
> > On Thu, 10 Mar 2005, Benjamin Herrenschmidt wrote:
> > > BTW, Linus: Any chance you ever change something to version or
> > > extraversion in bk just after a release ? I know I already ask and it
> > > degenerated into a flamefest, and I don't know if that is specifically
> > > the case now, but I keep getting report of people saying "I have a bug
> > > in 2.6.xx" while in fact, they have some kind of bk clone of sometime
> > > after 2.6.xx...
> >
> > The answer is the same: I'd still like to have somebody (preferably Sam)
> > who is comfortable with all the build scripts get a revision-control-
> > specific version at build-time, so that BK users would get the top-of-tree
> > key value, and other people could get some CVS revision or something.
>
> I have a patch somewhere in my inbox, and got one from Ryan yesterday
> also. I will see if I during the weekend find some time to look at it.
Sam, you'll probably want this on top of the patch I sent. (I haven't
built in a clean tree in a while, found a minor problem when I was
transitioning to quilt today.)
When running scripts/setlocalversion.sh, use $(CONFIG_SHELL) so the
executable bit doesn't need to be set.
Signed-off-by: Ryan Anderson <ryan@michonline.com>
Index: local-quilt/Makefile
===================================================================
--- local-quilt.orig/Makefile 2005-03-12 20:36:24.000000000 -0500
+++ local-quilt/Makefile 2005-03-12 20:54:40.000000000 -0500
@@ -563,7 +563,7 @@
ifeq ($(CONFIG_LOCALVERSION_AUTO),y)
ifeq ($(shell ls -d $(srctree)/BitKeeper 2>/dev/null),$(srctree)/BitKeeper)
- localversion-bk := $(shell $(srctree)/scripts/setlocalversion.sh $(srctree) $(objtree))
+ localversion-bk := $(shell $(CONFIG_SHELL) $(srctree)/scripts/setlocalversion.sh $(srctree) $(objtree))
LOCALVERSION := $(LOCALVERSION)$(localversion-bk)
endif
endif
--
Ryan Anderson
sometimes Pug Majere
next prev parent reply other threads:[~2005-03-13 4:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-10 1:51 [BUG] 2.6.11- sym53c8xx Broken on pp64 Omkhar Arasaratnam
2005-03-10 2:10 ` Benjamin Herrenschmidt
2005-03-10 2:25 ` Linus Torvalds
2005-03-10 5:06 ` Ryan Anderson
2005-03-10 5:40 ` Sam Ravnborg
2005-03-13 4:32 ` Ryan Anderson [this message]
2005-04-03 19:17 ` [PATCH] Auto-append localversion for BK users needs to use CONFIG_SHELL Sam Ravnborg
2005-03-10 3:11 ` [BUG] 2.6.11- sym53c8xx Broken on pp64 Omkhar Arasaratnam
2005-03-10 3:34 ` Omkhar Arasaratnam
2005-03-10 3:47 ` Linus Torvalds
2005-03-10 4:53 ` Omkhar Arasaratnam
2005-03-10 5:59 ` Benjamin Herrenschmidt
2005-03-10 12:17 ` Matthew Wilcox
2005-03-10 15:17 ` James Bottomley
2005-03-10 17:05 ` Omkhar Arasaratnam
2005-03-10 22:02 ` Benjamin Herrenschmidt
2005-03-11 14:54 ` Omkhar Arasaratnam
2005-03-13 20:32 ` Omkhar Arasaratnam
2005-03-15 15:54 ` Omkhar Arasaratnam
2005-03-15 23:38 ` Benjamin Herrenschmidt
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=20050313043229.GA7828@mythryan2.michonline.com \
--to=ryan@michonline.com \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.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