LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] Add some extra info regarding the kernel localversion.
@ 2007-03-04 17:19 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2007-03-04 17:19 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  Some formatting fixes, add a few lines describing the origin of the
git-based localversion string, and remove the last couple of lines
that erroneously claim that "git" isn't required for this, and that
Perl is.

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

---

diff --git a/init/Kconfig b/init/Kconfig
index f977086..19eefe4 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -80,16 +80,20 @@ 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.

-	  Note: This requires Perl, and a git repository, but not necessarily
-	  the git or cogito tools to be installed.
+	  (The actual string used here is the first eight characters produced
+	  by running the command:
+
+	    $ git rev-parse --verify HEAD
+
+	  which is done within the script "scripts/setlocalversion".)

 config SWAP
 	bool "Support for paging of anonymous memory (swap)"

-- 
========================================================================
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 related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-04 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-04 17:19 [PATCH] Add some extra info regarding the kernel localversion Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).