On 2010-01-26 09:29, Adrian Revill wrote: > 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'
You should be able to leave out the kdir and kernelversion defines here; they only apply to the kernel module build. > # 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' And here, you can leave off the --with/--without flags, as _those_ only apply to the userland build. :) > > 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 Will do, yes. Cheers, Florian
signature.asc
Description: OpenPGP digital signature
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
