mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] KCONFIG: Add some extra info regarding the kernel localversion.
@ 2007-03-04 11:01 Robert P. J. Day
  2007-03-04 16:59 ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2007-03-04 11:01 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Roman Zippel, trivial


  A small formatting fix, and add a few lines describing the origin of
the git-based "localversion" string for the kernel version.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>

---

diff --git a/init/Kconfig b/init/Kconfig
index f977086..4d5aef6 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -80,13 +80,19 @@ config LOCALVERSION_AUTO
 	default y
 	help
 	  This will try to automatically determine if the current tree is a
-	  release tree by looking for git tags that
-	  belong to the current top of tree revision.
+	  release tree by looking for git tags that belong to the current
+	  top of tree revision.

 	  A string of the format -gxxxxxxxx will be added to the localversion
-	  if a git based tree is found.  The string generated by this will be
+	  if a git-based tree is found.  The string generated by this will be
 	  appended after any matching localversion* files, and after the value
-	  set in CONFIG_LOCALVERSION
+	  set in CONFIG_LOCALVERSION.  (The actual string is the first eight
+	  characters produced by running the command:
+
+	    $ git rev-parse --verify HEAD
+
+	  which is done within the script "scripts/setlocalversion", in case
+	  you were interested.)

 	  Note: This requires Perl, and a git repository, but not necessarily
 	  the git or cogito tools to be installed.
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] KCONFIG: Add some extra info regarding the kernel localversion.
  2007-03-04 11:01 [PATCH] KCONFIG: Add some extra info regarding the kernel localversion Robert P. J. Day
@ 2007-03-04 16:59 ` Randy Dunlap
  2007-03-04 17:10   ` Robert P. J. Day
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2007-03-04 16:59 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List, Roman Zippel, trivial

On Sun, 4 Mar 2007 06:01:17 -0500 (EST) Robert P. J. Day wrote:

> 
>   A small formatting fix, and add a few lines describing the origin of
> the git-based "localversion" string for the kernel version.
> 
> Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
> 
> ---
> 
> diff --git a/init/Kconfig b/init/Kconfig
> index f977086..4d5aef6 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -80,13 +80,19 @@ config LOCALVERSION_AUTO
>  	default y
>  	help
>  	  This will try to automatically determine if the current tree is a
> -	  release tree by looking for git tags that
> -	  belong to the current top of tree revision.
> +	  release tree by looking for git tags that belong to the current
> +	  top of tree revision.
> 
>  	  A string of the format -gxxxxxxxx will be added to the localversion
> -	  if a git based tree is found.  The string generated by this will be
> +	  if a git-based tree is found.  The string generated by this will be
>  	  appended after any matching localversion* files, and after the value
> -	  set in CONFIG_LOCALVERSION
> +	  set in CONFIG_LOCALVERSION.  (The actual string is the first eight
> +	  characters produced by running the command:
> +
> +	    $ git rev-parse --verify HEAD
> +
> +	  which is done within the script "scripts/setlocalversion", in case
> +	  you were interested.)

Please omit ", in case you were interested".

> 
>  	  Note: This requires Perl, and a git repository, but not necessarily
>  	  the git or cogito tools to be installed.

How can this be the case since a 'git' command is used, according to
your new documentation?


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] KCONFIG: Add some extra info regarding the kernel localversion.
  2007-03-04 16:59 ` Randy Dunlap
@ 2007-03-04 17:10   ` Robert P. J. Day
  2007-03-04 21:31     ` Sam Ravnborg
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2007-03-04 17:10 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Linux Kernel Mailing List, Roman Zippel, trivial

On Sun, 4 Mar 2007, Randy Dunlap wrote:

> On Sun, 4 Mar 2007 06:01:17 -0500 (EST) Robert P. J. Day wrote:
>
> >
> >   A small formatting fix, and add a few lines describing the origin of
> > the git-based "localversion" string for the kernel version.
> >
> > Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
> >
> > ---
> >
> > diff --git a/init/Kconfig b/init/Kconfig
> > index f977086..4d5aef6 100644
> > --- a/init/Kconfig
> > +++ b/init/Kconfig
> > @@ -80,13 +80,19 @@ config LOCALVERSION_AUTO
> >  	default y
> >  	help
> >  	  This will try to automatically determine if the current tree is a
> > -	  release tree by looking for git tags that
> > -	  belong to the current top of tree revision.
> > +	  release tree by looking for git tags that belong to the current
> > +	  top of tree revision.
> >
> >  	  A string of the format -gxxxxxxxx will be added to the localversion
> > -	  if a git based tree is found.  The string generated by this will be
> > +	  if a git-based tree is found.  The string generated by this will be
> >  	  appended after any matching localversion* files, and after the value
> > -	  set in CONFIG_LOCALVERSION
> > +	  set in CONFIG_LOCALVERSION.  (The actual string is the first eight
> > +	  characters produced by running the command:
> > +
> > +	    $ git rev-parse --verify HEAD
> > +
> > +	  which is done within the script "scripts/setlocalversion", in case
> > +	  you were interested.)
>
> Please omit ", in case you were interested".

ok, will resubmit.

> >
> >  	  Note: This requires Perl, and a git repository, but not necessarily
> >  	  the git or cogito tools to be installed.
>
> How can this be the case since a 'git' command is used, according to
> your new documentation?

i have no idea why that last part says that -- that's not part of my
addition, it's the original text.  in fact, there's nothing about
scripts/setlocalversion that seems to require perl, so that last part
is *doubly* odd.

rday
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] KCONFIG: Add some extra info regarding the kernel localversion.
  2007-03-04 17:10   ` Robert P. J. Day
@ 2007-03-04 21:31     ` Sam Ravnborg
  0 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2007-03-04 21:31 UTC (permalink / raw)
  To: Robert P. J. Day
  Cc: Randy Dunlap, Linux Kernel Mailing List, Roman Zippel, trivial

On Sun, Mar 04, 2007 at 12:10:18PM -0500, Robert P. J. Day wrote:
> On Sun, 4 Mar 2007, Randy Dunlap wrote:
> 
> > On Sun, 4 Mar 2007 06:01:17 -0500 (EST) Robert P. J. Day wrote:
> >
> > >
> > >   A small formatting fix, and add a few lines describing the origin of
> > > the git-based "localversion" string for the kernel version.
> > >
> > > Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
> > >
> > > ---
> > >
> > > diff --git a/init/Kconfig b/init/Kconfig
> > > index f977086..4d5aef6 100644
> > > --- a/init/Kconfig
> > > +++ b/init/Kconfig
> > > @@ -80,13 +80,19 @@ config LOCALVERSION_AUTO
> > >  	default y
> > >  	help
> > >  	  This will try to automatically determine if the current tree is a
> > > -	  release tree by looking for git tags that
> > > -	  belong to the current top of tree revision.
> > > +	  release tree by looking for git tags that belong to the current
> > > +	  top of tree revision.
> > >
> > >  	  A string of the format -gxxxxxxxx will be added to the localversion
> > > -	  if a git based tree is found.  The string generated by this will be
> > > +	  if a git-based tree is found.  The string generated by this will be
> > >  	  appended after any matching localversion* files, and after the value
> > > -	  set in CONFIG_LOCALVERSION
> > > +	  set in CONFIG_LOCALVERSION.  (The actual string is the first eight
> > > +	  characters produced by running the command:
> > > +
> > > +	    $ git rev-parse --verify HEAD
> > > +
> > > +	  which is done within the script "scripts/setlocalversion", in case
> > > +	  you were interested.)
> >
> > Please omit ", in case you were interested".
> 
> ok, will resubmit.
> 
> > >
> > >  	  Note: This requires Perl, and a git repository, but not necessarily
> > >  	  the git or cogito tools to be installed.
> >
> > How can this be the case since a 'git' command is used, according to
> > your new documentation?
> 
> i have no idea why that last part says that -- that's not part of my
> addition, it's the original text.  in fact, there's nothing about
> scripts/setlocalversion that seems to require perl, so that last part
> is *doubly* odd.
In the past setlocalversion was a perl script.

	Sam

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-04 21:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-04 11:01 [PATCH] KCONFIG: Add some extra info regarding the kernel localversion Robert P. J. Day
2007-03-04 16:59 ` Randy Dunlap
2007-03-04 17:10   ` Robert P. J. Day
2007-03-04 21:31     ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®