LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 892|回复: 1

debian如何编译内核的第二个版本

[复制链接]
发表于 2008-5-7 17:55:06 | 显示全部楼层 |阅读模式
我编译内核的时候是运行
fakeroot make-kpkg --append_to_version -686 --initrd --revision=marvel.1.1 kernel_image modules_image
现在的软件版本是
ii  linux-image-2.6.25-686               marvel.1.1                       Linux kernel binary image for version 2.6.25

那么下次再次编译(我想让版本号高一点,代表升级)是修改哪个参数呢? 我看模块的版本号中revision没有变

38178 2008-05-05 10:35 tp-smapi-modules-2.6.25-686_0.37-1+marvel.1.1_i386.deb
38218 2008-05-07 10:57 tp-smapi-modules-2.6.25-686_0.37-2+marvel.1.1_i386.deb
 楼主| 发表于 2008-5-7 18:35:15 | 显示全部楼层
如果我修改revision的话,系统提示:
# fakeroot make-kpkg --append_to_version -686 --initrd --revision=marvel.1.2 kernel_image modules_image
I note that you are using the --revision flag with the value
   marvel.1.2.
However, the ./debian/changelog file exists, and has a different value
   marvel.1.1.
I am confused by this discrepancy, and am halting.


我只有手动修改changlog里面的信息,才可以通过。这样是否不是很好呢?有没有像m-a那样编译的时候自动增加版本号的方法呢?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表