conke 发表于 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
这样以后有无穷尽的问题出来,无法一一回答.

Dragonfly 发表于 2003-9-23 21:46:29

where u get this patch-2.6.0? for what purpose?

conke 发表于 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?

Dragonfly 发表于 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.
页: [1]
查看完整版本: 如何给内核打补丁?