Building the ACM Cluster, Part 11b: Kernel RPM Build
Published on in ACM, ACM Cluster
If you haven’t already done so, read and execute Building the ACM Cluster, Part 11a: Setting up rpmbuild environment.
This article will be covering building a new kernel for CentOS and injecting it into xCat’s local package repository. I am covering this because later on we’ll need to have a more recent kernel than CentOS comes with by default. Xen specifically requires a later kernel. However, when we build kernel modules, we’ll want to be building against the same kernel version we’re running.
Kernel Spec
I’ve built a kernel spec based on that at ElRepo (downloadable at kernel/el6/SPECS/ from any of these mirrors). This builds a kernel package called kernel-ml. This is so that it can coexist with the CentOS official kernel. However, I have a different goal - I want to replace the kernel. I’ve therefore created my own branch on my GitHub. The only difference between this and the official specfile is that I’ve removed every …