[DRBD-user] Building RPMs for RHEL5 with 8.3.7
florian.haas at linbit.com
Sat Jan 23 20:57:47 CET 2010
On 01/22/2010 01:31 PM, Adrian Revill wrote:
> I am a little puzzled about some aspects of the RPM build.
> I am trying to build 8.3.7 on a RHEL5.4 box, the box is running a XEN
> kernel but i am trying to build for a standard kernel.
> This build environment works perfectly for 8.3.5
> I configure with
> ./configure --with-km --with-rgmanager --with-heartbeat=no
> --with-pacemaker=no --with-xen=no
> KDIR=/usr/src/kernels/2.6.18-164.11.1.el5-x86_64/ KVER=2.6.18-164.11.1.el5
If you're building with a custom configuration, then you've got the
wrong approach. The RPM build process will override your flags when it
What you want is to invoke rpmbuild with the appropriate "--with
<feature>" options, and --define your kernel version and kernel
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 260 bytes
Desc: OpenPGP digital signature
More information about the drbd-user