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 ______________________________________________________________________
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to