Don't add “+” to linux kernel version

后端 未结 4 1841
星月不相逢
星月不相逢 2020-12-13 00:38

I am building linux kernel, if my kernel under git, then kernel version every time is:

Image Name:   Linux-2.6.39+

If I am not using git, t

4条回答
  •  天涯浪人
    2020-12-13 00:59

    To prevent the script scripts/setlocalversion to append the + to the end of the kernel local version, create an empty .scmversion file in the root of the kernel sources.

    touch .scmversion
    

    this way, you'll be able to leave LOCALVERSION as is in the kernel configuration file, in case you want to append a local signature to the kernel name.

提交回复
热议问题