public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* LOCALVERSION_AUTO considered harmful
@ 2010-04-11 16:47 Pavel Machek
  2010-04-12 18:51 ` Alexey Dobriyan
  0 siblings, 1 reply; 11+ messages in thread
From: Pavel Machek @ 2010-04-11 16:47 UTC (permalink / raw)
  To: kernel list, Linus Torvalds; +Cc: Andrew Morton

LOCALVERSION_AUTO has nasty interaction with modules, warn about it.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

diff --git a/init/Kconfig b/init/Kconfig
index eb77e8c..5d33072 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -88,7 +88,6 @@ config LOCALVERSION
 
 config LOCALVERSION_AUTO
 	bool "Automatically append version information to the version string"
-	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
@@ -99,6 +98,11 @@ config LOCALVERSION_AUTO
 	  appended after any matching localversion* files, and after the value
 	  set in CONFIG_LOCALVERSION.
 
+	  Unfortunately, such finegrained versioning will mean that you will
+	  not be able to use modules for development; even "make modules"
+	  will change module versions, making recompiled modules impossible
+	  to insert into old kernel. 
+
 	  (The actual string used here is the first eight characters produced
 	  by running the command:
 

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

end of thread, other threads:[~2010-04-12 17:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-11 16:47 LOCALVERSION_AUTO considered harmful Pavel Machek
2010-04-12 18:51 ` Alexey Dobriyan
2010-04-11 18:58   ` Geert Uytterhoeven
2010-04-11 20:14     ` Pavel Machek
2010-04-11 22:24       ` Thomas Gleixner
2010-04-12  1:20         ` rdunlap
2010-04-12  2:56         ` rdunlap
2010-04-12  3:49           ` Randy Dunlap
2010-04-12 12:48           ` Theodore Tso
2010-04-12 13:14         ` Pavel Machek
2010-04-12 17:03           ` Linus Torvalds

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