kbuild: change CONFIG_LOCALVERSION_AUTO to use a git-describe-ish format
authorTheodore Ts'o <tytso@mit.edu>
Sat, 3 Nov 2007 01:52:59 +0000 (21:52 -0400)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 28 Jan 2008 22:14:37 +0000 (23:14 +0100)
commitd882421f4e08ddf0a94245cdbe516db260aa6f41
treeac53706f5325d957b2fef7a79cdef1cd6bdd4937
parent22d6a6a018d897c9c77c6af164722926e70108fa
kbuild: change CONFIG_LOCALVERSION_AUTO to use a git-describe-ish format

Change the automatic local version to have the form -nnnnn-gSHA1SUMID,
where 'nnnnn' is the number of commits since the last tag (i.e.,
2.6.21-rc7).  This makes it much more likely that the package names created
for the kernel will look "newer" to a package manager.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/setlocalversion