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

Andy Green andy at openmoko.com
Sun Jul 27 22:10:47 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| 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.

Yeah.  It won't stop you booting.

FWIW (don't worry about gta01, it's from the Debian install)

$ uname -a
Linux fic-gta01 2.6.26-andy-2.6.26:4627e41051a73aa5-mokodev #885 PREEMPT
Sun Jul 27 21:01:22 BST 2008 armv4tl GNU/Linux

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiM1kYACgkQOjLpvpq7dMqL8ACffC/L4HSEx4XPtZ0RswQrcl/v
6sYAnjdiwI36K+rWmKjOlcmqepmyLi2R
=jRwz
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list