[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gentoo guys starting a fork of udev

If you want to reduce the build time dependencies (though only dbus
and libcap are needed as build time deps) and you know the specific
component you are interested in doesn't need it, then create a dummy
.pc file for that dependency (i.e. basically empty), and configure
systemd with PKG_CONFIG_PATH set to the path of these dummy .pc files.
Then, build only the few bits you need with "make foobar", where
foobar is the file you need.
Simply run "make udevd" and you're done.
You can also simply package both systemd and udev and put all udev
parts in a separate package and then install it, since there is no
dependency on systemd and related components by udev.
Also, quoting Lennart:
Canonical's Martin Pitt is actually a commiter on the systemd git
tree.  He works on various things in the udev area. And since we value
his work it would be stupid of us to break things for him anytime
soon, so that Martin couldn't use systemd's udev anymore on Ubuntu.
So, well, what did you say about reading documentation? ;-)
You can also always ask Lennart or Kay, or anyone else if you have
questions, they will happily answer it.

2012/11/19 Steve Langasek <vorlon@debian.org>:
> On Mon, Nov 19, 2012 at 12:48:24PM +0100, John Paul Adrian Glaubitz wrote:
>> On Mon, Nov 19, 2012 at 12:42:24PM +0100, Matthias Klumpp wrote:
>> > Also, the people who write udev and systemd really know what they are
>> > doing, and especially systemd is documented perfectly well - everyone
>> > who does not feel comfortable with systemd should read at least the
>> > basic docs. (and then think again, and then probably dislike it on a
>> > basis of facts)
>> This is what I am constantly saying all the time. I always have the
>> feeling that everyone who is dismissing systemd simply didn't read the
>> documentation first.
>> > Also, systemd hasn't anything to do with udev, there is no systemd
>> > dependency in udev.
>> Correct. You can build udev completely without systemd [1].
>> [1] http://wiki.freedesktop.org/wiki/Software/systemd/MinimalBuilds
>   "The core components are always built (which includes systemd itself, as
>   well as udevd and journald).
>   For some uses the configure switches do not provide sufficient modularity.
>   For example, they cannot be used to build only the man pages, or to build
>   only the tmpfiles tool or udevd."
> I always have the feeling that everyone who is zealously advocating systemd
> simply didn't read the documentation first.
> --
> Steve Langasek                   Give me a lever long enough and a Free OS
> Debian Developer                   to set it on, and I can move the world.
> Ubuntu Developer                                    http://www.debian.org/
> slangasek@ubuntu.com                                     vorlon@debian.org

Reply to: