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

Holger Freyther zecke at openmoko.org
Sun Jul 27 22:03:32 CEST 2008


On Sunday 27 July 2008 20:19:58 Andy Green wrote:

> Well, I don't think the packages use the build script... somebody did
> suggest this last week on community list that we should be able to
> determine the patchlevel of the kernel from runtime they wanted to know
> what GPS fixes they had in), I think it's good.  But, I don't control
> the packaging action at all so when they mentioned it I didn't have a
> way forward.

It is late again and I might miss the point. The package version contains the 
git hash but then you might run a different version than was installed to the 
rootfs. So if uname -a would report the hash as well I wouldn't mind.

trying to answer what mike brought up.
users:
	opkg upgrade and they will get the new kernel flashed and modules installed.

devs:
	modules from the old rootfs might not load, so either don't care, copy your 
modules over or cheat on the kernel version. I think we can cope with that.


my two ntd
z.




More information about the openmoko-kernel mailing list