[DRBD-user] Building RPMs for RHEL5 with 8.3.7

Adrian Revill adrian.revill at shazamteam.com
Tue Jan 26 09:29:59 CET 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Thx Floran

I got the rpm's to build correctly with

# ./configure --enable-spec --with-km
# make tgz
# cp drbd-8.3.7.tar.gz /home/brewbuilder/rpmbuild/SOURCES/
this is the build env set up in my .rpmmacros

# rpmbuild  -bb drbd.spec --with rgmanager --without pacemaker --without 
xen --without heartbeat --define 'kdir 
/usr/src/kernels/2.6.18-164.11.1.el5-x86_64/' --define 'kernelversion 
2.6.18-164.11.1.el5'
# rpmbuild  -bb drbd-km.spec --with rgmanager --without pacemaker 
--without xen --without heartbeat --define 'kdir 
/usr/src/kernels/2.6.18-164.11.1.el5-x86_64/' --define 'kernelversion 
2.6.18-164.11.1.el5'

Perhaps you could get a small example like this in the docs for people 
like me who dont really understand the full rpm building process

regards
Adrian

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the drbd-user mailing list