[CentOS-devel] How to rebuild kernel-2.6.18-164.el5.src.rpm from RHEL 5.4?

Wed Sep 9 18:23:38 UTC 2009
Felix Schwarz <felix at schwarz-online.org>

Hi,

as RHEL 5.4 came out a few days ago I thought I could rebuilt just a few
components to get my own 'preview' of kvm on CentOS 5.3 until there is the
official CentOS 5.4.

A couple of base libraries (e.g. log4cpp, qspice, ...) where really easy to
rebuilt from Red Hat's source rpms but I failed to rebuild the kernel using:
mock -r epel-5-x86_64 --rebuild kernel-2.6.18-164.el5.src.rpm

Using mock on a Fedora 10 build host, this is the error message:
+ make -s ARCH=x86_64 INSTALL_MOD_PATH=/var/tmp/kernel-2.6.18-164.el5-root
modules_install KERNELRELEASE=2.6.18-164.el5
make: *** No rule to make target `modules_install'.  Stop.

Did anyone succeed in rebuilding the RHEL 5.4 kernel already?
fs