QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 813|回复: 4

为什么我的内核打不了补丁

[复制链接]
发表于 2004-7-1 20:26:30 | 显示全部楼层 |阅读模式
我的系统是FC2 ,内核为2.6.5,用patch -p0 < patch-2.6.6命令升级内核 却出现这样的信息
 楼主| 发表于 2004-7-1 20:45:02 | 显示全部楼层
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru a/CREDITS b/CREDITS
|--- a/CREDITS  Sun May  9 19:33:46 2004
|+++ b/CREDITS  Sun May  9 19:33:46 2004
--------------------------
File to patch:
回复

使用道具 举报

发表于 2004-7-2 17:47:30 | 显示全部楼层
http://linuxhero.com/viewtopic.php?t=3
回复

使用道具 举报

 楼主| 发表于 2004-7-3 00:01:14 | 显示全部楼层
是你的论坛吗?开张了吗?还没人呢
回复

使用道具 举报

发表于 2004-7-3 09:29:44 | 显示全部楼层
这样试试,进入2.6.5内核源码目录(譬如/usr/src/linux-2.6.5)下
patch -Np1 -i patch所在路径
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-7-8 10:19 , Processed in 0.059060 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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