[PATCH] add-build-git-head-info.patch

Mike (mwester) mwester at dls.net
Sun Jul 27 17:05:07 CEST 2008


Andy Green wrote:
> This patch adds the branch and truncated head has to the version of the
> kernel
> 
> # cat /proc/version
> Linux version 2.6.26-andy-2.6.26:2b3bf342baac52b9-mokodev (agreen at pads.home.warmcat.com) (gcc version 4.1.2) #878 PREEMPT Sun Jul 27 14:45:25 BST 2008
> 
> Note this versioning is visible down /lib/modules

Yeah, I know about the extraversion and localversion stuff.

I should have explicitly mentioned in my original proposal that the
whole point of using the user at machine stuff to encode kernel origin is
to *AVOID* the module versioning problem that results when you do it
this way.

Now surely the end user kernels should ensure that the modules match the
kernel, but we don't do that now, and my approach was intended to
minimize the user-visible impact.

Are we ready to deal with the "I flashed my kernel but I forgot to
update my rootfs -- now my neo won't boot!" problems? :-D


Mike (mwester)




More information about the openmoko-kernel mailing list