[DRBD-user] Building drbd-utils in a docker container

Roland Kammerer roland.kammerer at linbit.com
Fri Mar 30 10:52:15 CEST 2018

On Wed, Mar 28, 2018 at 08:10:46PM -0700, Chuck Wolber wrote:
> Hi,
> This question seems to apply to all versions of drbd-utils from the current
> version on back to 8.9.6. Beyond that, I did not have time to look.
> I am building drbd-utils in a docker container for the purposes of
> packaging it for installation in another system. The docker container does
> not have udevadm or udevinfo installed in it, so the resulting drbd-utils
> package contains a udev ruleset that is disabled.
> Is there a "clean" way to pass an argument to the configure script to
> override this behavior and ensure the udev ruleset is not disabled at build
> time?

There is already a "--with-udev", which is, IIRC, on by default. This
then queries pkg-config for the udev directory. That should be enough,
isn't it?

Regards, rck

More information about the drbd-user mailing list