[Buildroot] What to do about systemd/udev/eudev?

Stefan Fröberg stefan.froberg at petroprogram.com
Tue Mar 5 18:08:20 UTC 2013


4.3.2013 20:30, Thomas Petazzoni kirjoitti:
> Dear Stefan Fröberg,
>
> On Mon, 04 Mar 2013 20:25:45 +0200, Stefan Fröberg wrote:
>
>>>> *But* ... (and this is a big but) I have not tested how it reacts to
>>>> kernel events after boot when you *plug/unplug* devices and if mdev
>>>> is capable of *running programs/scripts when some event happens*.
>>> mdev is capable of running programs/scripts when some event happens,
>>> even after boot time. I've already used this capability to notify an
>>> application when a USB input device is added/removed from the system,
>>> or to trigger a system upgrade when a USB key is inserted.
>> It is? Oh good ! :-)
> See http://git.busybox.net/busybox/tree/examples/mdev.conf#n17.
>
>>> However, if an application relies on libudev to get notifications of
>>> devices appearing/disappearing, or other services, then of course, it
>>> cannot work with mdev.
>> Damn... That would mean that network-manager and some other stuff would
>> need patchin then to
>> get completely rid of udev...
>> Real pity.
> Things like bluez, udisks, pulseaudio, X.org, etc. depend on libudev to
> get notification when devices are added/removed.
>
> Best regards,
>
> Thomas

Hmmm.....

Would it make sense to rip libudev out from latest systemd and make it
as a separate package ?
Just for satisfying dependency need for those packages ?

Could it even work without full systemd/udev stuff ???

Regards
Stefan









More information about the buildroot mailing list