LinuxSir.cn,穿越时空的Linuxsir!

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

请教内核patch对应版本问题

[复制链接]
发表于 2009-3-18 11:05:40 | 显示全部楼层 |阅读模式
1、现在最新的2.4内核补丁是patch-2.4.37.bz2,我能不能打到2.4.20内核上?

2、请问2.4的内核patch是不是都能打到其低版本的2.4.X上?那2.6呢?

即我不太清楚,一个内核patch,是为哪一个内核版本定制的
请高手们回答一下,谢谢:-)
发表于 2009-3-18 13:30:18 | 显示全部楼层
From "Linux Kernel in a Nutshell"
• Stable kernel patches apply to the base kernel version. This means that the
2.6.17.10 patch will only apply to the 2.6.17 kernel release. The 2.6.17.10
kernel patch will not apply to the 2.6.17.9 kernel or any other release.

• Base kernel release patches only apply to the previous base kernel version.
This means that the 2.6.18 patch will only apply to the 2.6.17 kernel release.
It will not apply to the last 2.6.17.y kernel release, or any other release.

• Incremental patches upgrade from a specific release to the next release. This
allows developers to not have to downgrade their kernel and then upgrade it,
just to switch from the latest stable release to the next stable release (remem-
ber that the stable release patches are only against the base kernel, not the
previous stable release). Whenever possible, it is recommended that you use
the incremental patches to make your life easier.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-18 14:23:02 | 显示全部楼层
嗯,原来这样子
谢谢:)
回复 支持 反对

使用道具 举报

发表于 2009-3-19 21:34:53 | 显示全部楼层
也就是lz不能打上这个补丁了。
谢谢,普及了~
回复 支持 反对

使用道具 举报

发表于 2009-3-20 15:28:46 | 显示全部楼层
如果要是频繁切换版本的话用 git 保存一个本地拷贝比较好~ ;)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-21 17:16:14 | 显示全部楼层
对,说得也是,跟current的需要这样
回复 支持 反对

使用道具 举报

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

本版积分规则

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