如何打patch p0 p1区别
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/09/29 20:32:59
如何打patch p0 p1区别
面是我出现的错误备份一下,//原因是patch的目录不对,应该在kernel同级的drivers/usb/目录下进行的哦
[root@localhost usb]# tar zxvf usb-2.6.12LE06.patch.tar.gz
usb-2.6.12.patch
[root@localhost usb]# ls
usb-2.6.12LE06.patch.tar.gz usb-2.6.12.patch
[root@localhost usb]# patch -p1 < usb-2.6.12.patch
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 -ruN usb_old/Makefile usb/Makefile
|--- usb_old/Makefile 2005-06-19 19:09:13.000000000 +0200
|+++ usb/Makefile 2005-11-06 00:44:46.000000000 +0100
--------------------------
File to patch:
Skip this patch?[y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN usb_old/media/Kconfig usb/media/Kconfig
|--- usb_old/media/Kconfig 2005-06-19 17:49:07.000000000 +0200
|+++ usb/media/Kconfig 2005-11-25 21:14:39.000000000 +0100
--------------------------
File to patch:
Skip this patch?[y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 38
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN usb_old/media/Makefile usb/media/Makefile
|--- usb_old/media/Makefile 2005-06-19 17:49:07.000000000 +0200
|+++ usb/media/Makefile 2005-11-05 23:05:56.000000000 +0100
--------------------------
File to patch:
Skip this patch?[y] y
Skipping patch.
1 out of 1 hunk ignored
patching file media/spca5xx/cs2102.h
patching file media/spca5xx/hdcs2020.h
patching file media/spca5xx/hv7131b.h
patching file media/spca5xx/hv7131c.h
patching file media/spca5xx/icm105a.h
patching file media/spca5xx/Makefile
patching file media/spca5xx/Makefile.2.4
patching file media/spca5xx/Makefile.org
patching file media/spca5xx/pas106b.h
patching file media/spca5xx/pb0330.h
patching file media/spca5xx/sn9cxxx.h
patching file media/spca5xx/sp5xxfw2.dat
patching file media/spca5xx/sp5xxfw2.h
patching file media/spca5xx/spca5xx.h
patching file media/spca5xx/spcaCompat.h
patching file media/spca5xx/spca_core.c
patching file media/spca5xx/spcadecoder.c
patching file media/spca5xx/spcadecoder.h
patching file media/spca5xx/spcausb.h
patching file media/spca5xx/tas5130c.h
patching file media/spca5xx/zc3xx.h
[root@localhost usb]#
#####################
下面来自无名博客:vcdog.cublog.cn 的具体内容:
今天上QQ的时候发现eva不能用了,后来又看到了解决方法,所以想打个补丁,-).后来查了查明白了,写了个总结,分享一下,也不知道以前有没有这方面的东西,希望我这个不是多余的.
[root@localhost usb]# tar zxvf usb-2.6.12LE06.patch.tar.gz
usb-2.6.12.patch
[root@localhost usb]# ls
usb-2.6.12LE06.patch.tar.gz usb-2.6.12.patch
[root@localhost usb]# patch -p1 < usb-2.6.12.patch
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 -ruN usb_old/Makefile usb/Makefile
|--- usb_old/Makefile 2005-06-19 19:09:13.000000000 +0200
|+++ usb/Makefile 2005-11-06 00:44:46.000000000 +0100
--------------------------
File to patch:
Skip this patch?[y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN usb_old/media/Kconfig usb/media/Kconfig
|--- usb_old/media/Kconfig 2005-06-19 17:49:07.000000000 +0200
|+++ usb/media/Kconfig 2005-11-25 21:14:39.000000000 +0100
--------------------------
File to patch:
Skip this patch?[y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 38
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN usb_old/media/Makefile usb/media/Makefile
|--- usb_old/media/Makefile 2005-06-19 17:49:07.000000000 +0200
|+++ usb/media/Makefile 2005-11-05 23:05:56.000000000 +0100
--------------------------
File to patch:
Skip this patch?[y] y
Skipping patch.
1 out of 1 hunk ignored
patching file media/spca5xx/cs2102.h
patching file media/spca5xx/hdcs2020.h
patching file media/spca5xx/hv7131b.h
patching file media/spca5xx/hv7131c.h
patching file media/spca5xx/icm105a.h
patching file media/spca5xx/Makefile
patching file media/spca5xx/Makefile.2.4
patching file media/spca5xx/Makefile.org
patching file media/spca5xx/pas106b.h
patching file media/spca5xx/pb0330.h
patching file media/spca5xx/sn9cxxx.h
patching file media/spca5xx/sp5xxfw2.dat
patching file media/spca5xx/sp5xxfw2.h
patching file media/spca5xx/spca5xx.h
patching file media/spca5xx/spcaCompat.h
patching file media/spca5xx/spca_core.c
patching file media/spca5xx/spcadecoder.c
patching file media/spca5xx/spcadecoder.h
patching file media/spca5xx/spcausb.h
patching file media/spca5xx/tas5130c.h
patching file media/spca5xx/zc3xx.h
[root@localhost usb]#
#####################
下面来自无名博客:vcdog.cublog.cn 的具体内容:
今天上QQ的时候发现eva不能用了,后来又看到了解决方法,所以想打个补丁,-).后来查了查明白了,写了个总结,分享一下,也不知道以前有没有这方面的东西,希望我这个不是多余的.
用matlab求解:max=4*t1*p1+8*t2*(p0-p1)-225*(p0-p1)*t2/t1-225*p1/
用89C51单片机的P0输入控制P1输出,按一下P0起动P1输出再按一下P0停止P1输出.
go with the patch 如何翻译
单片机的p0,p1,p2,p3端口有什么作用?
P0
fiber patch panel 跟 fiber terminal box 有什么区别
一只小虫落在数轴上的P0点,第一次从P0点向左跳1个单位到P1点.
一只小虫子在数轴的某点P0处,第一次从P0向左跳1个长度单位到P1
51单片机用P0和P1口控制16路彩灯做流水灯,用C语言怎么写,我只会单用P0或P1,不知道P0和P1怎么衔接
一只小虫落在数轴上的某点P0 第一次从P0向左跳1个单位到P1 第二次从P1向右跳2个单位到P2
银行家算法得出的安全序列有顺序吗?如{ p3,p0,p4 ,p2,p1}和{ p3,p0,p4 ,p1,p2}是一样的吗
一只小虫落在数轴上某点P0处第一次从P0向左跳1个单位到P1,第二次从P1向右跳2个单位到P2,