linux - 在带有问号的终端中为 linux 内核应用补丁
问题描述
我想构建linux-rt
内核,下载kernel
并patch
从kernel.org
网站下载后,我像文档一样运行此命令:
gzip -cd ../patch-5.11.4-rt11.patch.gz | patch -p1 --verbose {}
现在我第一次看到这条线
patching file {}
Using Plan A...
Hunk #1 FAILED at 35.
1 out of 1 hunk FAILED -- saving rejects to file {}.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/include/linux/rbtree.h b/include/linux/rbtree.h
|index d7db179963221..c33b0e16d04b4 100644
|--- a/include/linux/rbtree.h
|+++ b/include/linux/rbtree.h
--------------------------
patching file {}
Using Plan A...
Hunk #1 FAILED at 19.
Hunk #2 FAILED at 112.
2 out of 2 hunks FAILED -- saving rejects to file {}.rej
Hmm...The next patch would create the file {},
which already exists! Assume -R? [n]
应该按哪个键来应用这个补丁?
解决方案
推荐阅读
- matlab - 为什么我的 while 循环有时不响应 Matlab 中的按键?
- java - 如何生成随机数学运算符?(蚀)
- javascript - 为什么这个按钮元素的“点击”行为与 div 不同?
- c# - 如何使用 where not exists 向 Oracle 中插入数据?
- javascript - 如何防止 chrome 扩展在 chrome:// url 上运行
- javascript - 输入数字并使用jquery找到最大和最小的数字
- macros - Cmder / ConEMU 中的文本扩展
- python - Pandas:读取文件时跳过包含特定字符串的行
- python - 大型数据帧(pyspark)上的 EMR 笔记本会话在几秒钟内超时(使用 pyspark)
- javascript - 将反应应用程序部署到 netlify 时缺少构建脚本错误