linux内核 patch下载,linux内核打补丁patch

本文介绍了如何在Linux环境下,为3.16.68版本的内核应用patch-3.16.68-69.xz补丁。首先解压补丁文件,然后进入内核源代码目录,使用`patch -p1 < ../patch-3.16.68-69`命令逐个应用补丁到相关源文件,完成内核更新。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[root@localhost linux-kernel]#

[root@localhost linux-kernel]# xz -d patch-3.16.68-69.xz

[root@localhost linux-kernel]#

[root@localhost linux-kernel]# ls

kernel_4.4.182  kernel_5.0.7  linux-3.16.68         linux-4.14.126         linux-4.19.34.tar.xz  linux-4.4.182.tar.xz  linux-5.0.7.tar.xz  patch-3.18.91-92.xz  patch-4.19.54-55.xz

kernel_4.9.182  kernel_92     linux-3.16.68.tar.xz  linux-4.14.126.tar.xz  linux-4.19.47.tar.xz  linux-4.9.182.tar.xz  patch-3.16.68-69    patch-3.18.92-93.xz

[root@localhost linux-kernel]#

[root@localhost linux-kernel]#

[root@localhost linux-kernel]#

[root@localhost linux-kernel]# cd linux-3.16.68/

[root@localhost linux-3.16.68]#

[root@localhost linux-3.16.68]#

[root@localhost linux-3.16.68]# head -5 Makefile

VERSION = 3

PATCHLEVEL = 16

SUBLEVEL = 68

EXTRAVERSION =

NAME = Museum of Fishiegoodies

[root@localhost linux-3.16.68]#

[root@localhost linux-3.16.68]#

[root@localhost linux-3.16.68]# patch

patch      patchwork

[root@localhost linux-3.16.68]# patch -p1 < ../patch-3.16.68-69

patching file Documentation/networking/ip-sysctl.txt

patching file Makefile

patching file drivers/scsi/megaraid/megaraid_sas_base.c

patching file drivers/virt/fsl_hypervisor.c

patching file fs/ext4/extents.c

patching file include/linux/mm.h

patching file include/linux/tcp.h

patching file include/net/tcp.h

patching file include/uapi/linux/snmp.h

patching file mm/memory.c

patching file mm/mincore.c

patching file net/bluetooth/hidp/sock.c

patching file net/ipv4/proc.c

patching file net/ipv4/sysctl_net_ipv4.c

patching file net/ipv4/tcp.c

patching file net/ipv4/tcp_input.c

patching file net/ipv4/tcp_output.c

patching file net/ipv4/tcp_timer.c

[root@localhost linux-3.16.68]#

[root@localhost linux-3.16.68]#

[root@localhost linux-3.16.68]#

[root@localhost linux-3.16.68]#

[root@localhost linux-3.16.68]# head -5 Makefile

VERSION = 3

PATCHLEVEL = 16

SUBLEVEL = 69

EXTRAVERSION =

NAME = Museum of Fishiegoodies

[root@localhost linux-3.16.68]#

[root@localhost linux-3.16.68]#

[root@localhost linux-3.16.68]#

[root@localhost linux-3.16.68]#

阅读(863) | 评论(0) | 转发(0) |

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值