Re: Tracking or checking backported kernel patches from upstream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 9/2/20 8:17 AM, Johnny Hughes wrote:
You CAN do a diff on the exploded tarball from the SRPM and either the
last kernel released (to see what is in this update) .. or the
kernel.org reference kernel .. to see what is different from the
kernel.org release.


You can, but expanding two kernels and diffing them consumes a lot of disk space and time.

To determine if a specific patch is present, it's a little more efficient to use only the CentOS kernel source (https://wiki.centos.org/HowTos/I_need_the_Kernel_Source#If_you_really_need_the_full_kernel_source), and then attempt to apply the patch in question (patch -p1 < git-patchfile).  The "patch" application will tell you if it is already applied and ask if you want to reverse it, if the patch is already present.  If it applies the patch, then it wasn't there already.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux