Re: [PATCH] Linux 3.8-merge version information

From: Pavel Machek
Date: Sat Dec 15 2012 - 06:33:22 EST


Hi!

On Tue 2012-12-11 10:57:21, Linus Torvalds wrote:
> On Tue, Dec 11, 2012 at 5:06 AM, Oliver Hartkopp <socketcan@xxxxxxxxxxxx> wrote:
> > As the automatically generated git version information is misleading in the
> > merge window, name the kernel in the merge window as 3.8-merge .
>
> This really doesn't help.

Well, I'd say it helps in the common case.

> 90% of the commits during the merge window wouldn't be based on that
> Makefile change anyway, but on some much older version. So when
> bisecting, for example, you'll see Makefiles with much older version
> numbers, even though the commits got merged into the 3.8 merge
> window.

No, it does not solve bisect, but at least you get something
reasonable in the boot menu...?

> Also, we have code to generate the version number automatically. In
> particular, I encourage people to use git trees and
> CONFIG_LOCALVERSION_AUTO=y, because then your /var/log/messages (and
> uname -r) will contain the exact git version of your kernel. So when
> you see something like
>
> Linux version 3.7.0-rc8-00041-gcaf491916b1c

Problem is that CONFIG_LOCALVERSION_AUTO adds a lot of time to
build. Like... making "empty" build twice as slow.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/