Menu
![Centos kernel source path Centos kernel source path](/uploads/1/2/5/7/125793514/138240586.png)
Active9 days ago
CentOS is primarily a Linux distribution designed for servers, so for example, recognizing a newer audio or network card is not a priority, but if there is a security flaw within the existing kernel version – CentOS and Red Het will release updates through a standard repository that can be installed with simple yum update, not from ‘zero. Step 2: Upgrading Kernel in CentOS 7. Most modern distributions provide a way to upgrade the kernel using a package management system such as yum and an officially-supported repository. Important: If you looking to run custom compiled Kernel, then you should read our article that explains How to Compile Linux Kernel on CentOS 7 from sources.
I read in an article that the redhat takes the kernel from kernel.org for their releases and make some changes according to their requirement in that kernel and then they embeds that kernel in their upcoming releases.
My question is that can we git clone the redhat kernel source code and see the changes made by them?
AnilAnil
1 Answer
(Updated, thx to @TheCodeArtist) You can see the kernel configuration files used by Red Hat for compiling its kernels at: https://git.centos.org/rpms/kernel/branches
Source code for individual releases is available from source packages (SRPMs). You can get those from the Red Hat Customer Portal. For the current release (RHEL 7.3), see https://access.redhat.com/downloads/content/69/ver=/rhel---7/7.3/x86_64/product-sources. These packages are also available from CentOS: http://vault.centos.org/7.3.1611/os/Source/SPackages/.
To see the individual changes made by Red Hat, you can use the Red Hat Code Browser (only available to subscribers). It's described in Red Hat Code Browser User Guide.
maxschlepzig15.7k88 gold badges8181 silver badges115115 bronze badges
Robert KratkyRobert Kratky
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.