Magic number in kernel version string

Anatol Pomozov anatol.pomozov at
Wed Aug 28 22:22:13 EDT 2013


On Wed, Aug 28, 2013 at 6:56 PM, Woody Wu <narkewoody at> wrote:

> Hi,
> In my own built kernel, its version string (via uname -a) has a magic
> number: 'Linux MyProd 3.x.x-LOCALVERSION-9b5c9ab2-dirty'
> I want to understand, where the '9b5c9ab2-dirty' comes from and how can
> I change it? Thanks.

This is SCM version and in your case generated by 'git describe' command.

See scripts/setlocalversion where this function is generated.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list