kernel version

来源:互联网 发布:淘宝卖家版本下载官网 编辑:程序博客网 时间:2024/04/28 08:13

Just for my memo:

I met problem in generating a kernel with correct version.  A "+" symbol is always added into the kernel version. And my investigation shows it is related in scripts/setlocalversion

Also the modification is as follows:


Index: scripts/setlocalversion
===================================================================
--- scripts/setlocalversion    (revision 4935)
+++ scripts/setlocalversion    (working copy)
@@ -166,7 +166,7 @@
     # LOCALVERSION= is not specified
     if test "${LOCALVERSION+set}" != "set"; then
         scm=$(scm_version --short)
-        res="$res${scm:++}"
+        #res="$res${scm:++}"
     fi
 fi



原创粉丝点击