Description of problem:
To try clustering and xen together I needed to rebuild the cman-kernel package
to get the kernel modules for xen0 and xenU kernels. They are not currently
built (bugzilla #177772).
The rebuild faild with a missing Makefile in the kernel-devel tree.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. download and install cman-kernel-18.104.22.168-0.FC5.13.src.rpm
2. download and install xen0 and xenU kernel and kernel-devel packages
3. rpmbuild -bb --target=i686 cman-kernel.spec
RPMS for up, smp, xen0, and xenU kernels
It appears that this problem is caused by moving to the Xen kernel tree that
includes Xen as a variant type of i386 instead of a new ARCH. When I removed
the ARCH=xen statments from the spec file everything build as expected. I am
attaching the diff between my working spec and the original. (The dependencies
also need updating is buildxen is enabled)
Created attachment 126116 [details]
Patched spec file
Just for peoples info, I also have filed bugzilla #185432 for the same problem
for dlm-kernel. It may also apply to GFS-kernel and gnbd-kernel
Should be fixed in the cman-kernel which was released with FC5.