Magic number in kernel version string

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


Hi,


On Wed, Aug 28, 2013 at 6:56 PM, Woody Wu <narkewoody at gmail.com> 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...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130828/9c412a12/attachment.html 


More information about the Kernelnewbies mailing list