QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1323|回复: 3

如何给内核打补丁?

[复制链接]
发表于 2003-9-23 12:57:17 | 显示全部楼层 |阅读模式
我已将linux-2.6.0-test5解压到/usr/src/linux-2.6.0-test5,另外还有一个patch-2.6.0,请问,该如何使用patch命令打上补丁呢?

我这样做后不行:
mv patch-2.6.0 /usr/src/linux-2.6.0-test5
cd /usr/src/linux-2.6.0-test5
patch -p1 < patch-2.6.0-test5
这样以后有无穷尽的问题出来,无法一一回答.
发表于 2003-9-23 21:46:29 | 显示全部楼层
where u get this patch-2.6.0? for what purpose?
回复

使用道具 举报

 楼主| 发表于 2003-9-24 14:54:16 | 显示全部楼层
kernel.org,in the same directory with the kernel.

The problem is that since the kernel and the kernel patch lie in the same dir,  the kernel might have been patched!So, i guess, the kernel 2.6.0-test5 needs no patch any more!
Is that so?
回复

使用道具 举报

发表于 2003-9-26 05:10:35 | 显示全部楼层
u only need to dl http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.0-test5.tar.bz2 directly. it needs not to be patched.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-28 04:18 , Processed in 0.061738 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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