[DRBD-user] Building drbd

Josef Vogt josef.vogt at li-life.li
Fri Jun 17 13:01:52 CEST 2011

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


>To only build select binary RPMs, create (or download) a tarball, copy
>that into your RPM %_sourcedir, then run
>
>./configure --with-km --enable-spec
>rpmbuild --without rgmanager --without xen --without heartbeat \
>-bb drbd.spec

Thanks - that did the trick!

>As an alternative, you can of course always build all the packages and
>choose to install only the ones you really plan to use.
>
>> In the Changelog to 8.3.10 there is written:
>> 
>> "Only build a single kernel module package on distributions that 
provide
>> the infrastructure to have kernel version independent modules"
>
>rpmbuild -bb drbd-kernel.spec
>
I get the following error on both, drbd-8.3.10 and drbd-8.3.11rc2 
(translated from german):
Error: Line 26: Unknown tag: %kernel_module_package -n drbd -p 
drbd/preamble -f drbd/filelist-redhat

Greetings
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110617/ebecaf42/attachment.htm>


More information about the drbd-user mailing list