|
问题:今天有空,想试试中文的console,在此前得到沈老师的的帮助,发现youbest老师的中文patch,可试了以后,却是File to patch。
这是终端出现的东东:
[root@air linux-2.6.34-ARCH]# patch -p1 <utf8-kernel-2.6.34-core-1.patchcan't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|# 作者(author): 孙海勇
|# 发布协议(License): GPL v2
|# 邮件(email): youbest@sina.com
|# 说明:此补丁用于Linux内核,实现直接在framebuffer环境下直接显示UTF-8编码的文字功能。此补丁为功能补丁,不包含字库。
|
|diff -Nurp linux-2.6.34.orig/drivers/char/selection.c linux-2.6.34/drivers/char/selection.c
|--- linux-2.6.34.orig/drivers/char/selection.c 2010-05-16 21:17:36.000000000 +0000
|+++ linux-2.6.34/drivers/char/selection.c 2010-05-29 17:47:20.704220250 +0000
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 31
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nurp linux-2.6.34.orig/drivers/char/vt.c linux-2.6.34/drivers/char/vt.c
|--- linux-2.6.34.orig/drivers/char/vt.c 2010-05-16 21:17:36.000000000 +0000
|+++ linux-2.6.34/drivers/char/vt.c 2010-05-29 18:22:18.855346500 +0000
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
17 out of 17 hunks ignored
can't find file to patch at input line 384
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nurp linux-2.6.34.orig/drivers/video/console/bitblit.c linux-2.6.34/drivers/video/console/bitblit.c
|--- linux-2.6.34.orig/drivers/video/console/bitblit.c 2010-05-16 21:17:36.000000000 +0000
|+++ linux-2.6.34/drivers/video/console/bitblit.c 2010-05-29 17:47:20.788225500 +0000
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
6 out of 6 hunks ignored
can't find file to patch at input line 505
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nurp linux-2.6.34.orig/drivers/video/console/fbcon.c linux-2.6.34/drivers/video/console/fbcon.c
|--- linux-2.6.34.orig/drivers/video/console/fbcon.c 2010-05-16 21:17:36.000000000 +0000
|+++ linux-2.6.34/drivers/video/console/fbcon.c 2010-05-29 17:47:20.804226500 +0000
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
12 out of 12 hunks ignored
can't find file to patch at input line 654
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nurp linux-2.6.34.orig/drivers/video/console/fbcon_ccw.c linux-2.6.34/drivers/video/console/fbcon_ccw.c
|--- linux-2.6.34.orig/drivers/video/console/fbcon_ccw.c 2010-05-16 21:17:36.000000000 +0000
|+++ linux-2.6.34/drivers/video/console/fbcon_ccw.c 2010-05-29 17:47:20.816227250 +0000
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 730
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nurp linux-2.6.34.orig/drivers/video/console/fbcon_cw.c linux-2.6.34/drivers/video/console/fbcon_cw.c
|--- linux-2.6.34.orig/drivers/video/console/fbcon_cw.c 2010-05-16 21:17:36.000000000 +0000
|+++ linux-2.6.34/drivers/video/console/fbcon_cw.c 2010-05-29 17:47:20.832228250 +0000
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 806
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nurp linux-2.6.34.orig/drivers/video/console/fbcon_ud.c linux-2.6.34/drivers/video/console/fbcon_ud.c
|--- linux-2.6.34.orig/drivers/video/console/fbcon_ud.c 2010-05-16 21:17:36.000000000 +0000
|+++ linux-2.6.34/drivers/video/console/fbcon_ud.c 2010-05-29 17:47:20.904232750 +0000
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
5 out of 5 hunks ignored
那么我下步该如何作。
以前也到过google的archlive下载kernel,听说已经patch过,可是pacman后却出现黑屏。。。。。 |
|