Changes

Jump to: navigation, search

Kernel build

1 byte added, 08:37, 30 May 2006
no edit summary
This FAQ will help you in case you want to apply some patches to the kernel on your own or rebuild it from sources.
On RPM based distros such as RedHat Enterprise Linux/CentOS, Fedora Core or SuSe SUSE one can simpy rebuild kernel from SRPM,
for other distros it is required to install sources, build and install kernel manually. The below are given the details for both cases.
=== Download ===
OpenVZ kernel SRC RPM can be download from the official downloads at http://openvz.org/download/kernel/.
Beta versions of kernels for differents different OS distributions can be also found at http://openvz.org/download/beta/.
=== Installation ===
</pre>
After successfull installtion installation you can find kernel sources in /usr/src/<distro>/SOURCES/
and kernel spec file (kernel-ovz.spec) in /usr/src/<distro>/SPECS, where <distro> is your distribution-specific directory.
For example, for RedHat based distros it is 'redhat', for SUSE it is 'packages'.
=== Adding your own patches ===
To modify the kernel one needs just to add specifc specific patches to the kernel spec file and put this patch into SOURCES directory.
Put your patch into SOURCES directory with the following command:
<pre>
Anonymous user

Navigation menu