Magic number in kernel version string
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. -- I can't go back to yesterday - because I was a different person then
Hi, On Wed, Aug 28, 2013 at 6:56 PM, Woody Wu <narkewoody@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.
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@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
participants (2)
-
Anatol Pomozov -
Woody Wu