[systemd-devel] [PATCH] Fix: can not pass configure by default kmod build option

Kay Sievers kay at vrfy.org
Wed Jan 15 21:48:30 PST 2014


On Thu, Jan 16, 2014 at 3:05 AM, Yang Chengwei <chengwei.yang at intel.com> wrote:
> On Thu, Jan 16, 2014 at 02:56:27AM +0100, Zbigniew Jędrzejewski-Szmek wrote:
>> On Wed, Jan 15, 2014 at 01:28:26PM +0800, Chengwei Yang wrote:
>> > The situation is: by default, we get a "auto" value for kmod compiling
>> > option, so if we found required kmod files, then we build it with kmod
>> > enabled, otherwise, just build without kmod and do not complain to user.
>> >
>> > However, currently, if kmod version < 15 available in machine, and build
>> > with default option, say no explicitly with "--enable/disable-kmod",
>> > then the configure will fail with
>> >
>> > ...
>> > checking for KMOD... no
>> > configure: error: *** kmod version >= 15 not found
>> > ...
>> This is on purpose.
>
> I'm not sure if this is worth, given that kmod may not available in some
> distro version, for example, ubuntu 12.04, so you're expecting us to
> replace kmod from OS repo or upgrade our OS to do systemd development. A
> little dominating to user I think.

Kmod is a dependency of udev. New systemd/udev versions require a
certain version of kmod.

Too old distro releases just don't work with recent systemd/udev, or
need to be updated; there is nothing "dominating" or unusual here,
it's just how things move forward the normal way.

Things didn't stop in 2012, and will also not stop in 2014.

Kay


More information about the systemd-devel mailing list