Magic number in kernel version string

Woody Wu narkewoody at gmail.com
Thu Aug 29 05:45:29 EDT 2013


On Wed, Aug 28, 2013 at 07:22:13PM -0700, Anatol Pomozov wrote:
> 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.

many thanks!

-- 
I can't go back to yesterday - because I was a different person then



More information about the Kernelnewbies mailing list