了解Linux内核和补丁版本

了解Linux内核和补丁版本,第1张

概述我想更好地了解Linux内核/补丁发布的工作原理.例如,如果我今天(2013年12月12日)打开www.kernel.org,主要下载(黄色按钮)将我带到最新稳定版“linux-3.12.5.tar.xx”.这很清楚.但如果我进入“https://www.kernel.org/pub/linux/kernel/v3.x/”,我可以找到(在许多档案中):(1)

我想更好地了解Linux内核/补丁发布的工作原理.

例如,如果我今天(2013年12月12日)打开www.kernel.org,主要下载(黄色按钮)将我带到最新稳定版“linux-3.12.5.tar.xx”.这很清楚.

但如果我进入“https://www.kernel.org/pub/linux/kernel/v3.x/”,我可以找到(在许多档案中):

(1)linux-3.12.tar.gz

(2)patch-3.12.5.gz

(3)patch-3.12.gz

所以第一个问题:是“linux-3.12.5”=(1)linux-3.12“”(2)patch-3.12.5?

如果是这样,那么“patch-3.12”(3)是什么?是“linux-3.12”= linux-3.11“”(3)patch-3.12如上?

谢谢!

最佳答案根据https://github.com/torvalds/linux/blob/master/README(第95行):

Unlike patches for the 3.x kernels,patches for the 3.x.y kernels
(also kNown as the -stable kernels) are not incremental but instead
apply directly to the base 3.x kernel. For example,if your base
kernel is 3.0 and you want to apply the 3.0.3 patch,you must not
first apply the 3.0.1 and 3.0.2 patches. Similarly,if you are running
kernel version 3.0.2 and want to jump to 3.0.3,you must first reverse
the 3.0.2 patch (that is,patch -R) before applying the 3.0.3 patch.
You can read more on this in documentation/applying-patches.txt

感谢上午用于链接源! 总结

以上是内存溢出为你收集整理的了解Linux内核和补丁版本全部内容,希望文章能够帮你解决了解Linux内核和补丁版本所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1048305.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存