[OpenWrt-Devel] [RFC] replace outdated udev by eudev?

Felix Fietkau nbd at openwrt.org
Sun Feb 7 04:37:46 EST 2016


On 2016-02-07 10:22, Daniel Golle wrote:
> Hi!
> 
> I recently bumped into eudev, a fork of systemd-udev 220 which doesn't
> require all the rest of systemd. The gentoo folks came up with it as
> many of them still use OpenRC or SystemV init.
> It was easy to port it to OpenWrt by re-using and modifying the
> existing udev packaging. See
> https://github.com/openwrt/packages/pull/2354
> 
> However, there are some problems which I'd like to discuss:
> * PROVIDES and CONFLICTS doesn't work well in opkg and proper support
>   for alternative packages (except for build-variants) is missing in
>   buildroot. Any idea on how this could be fixed?
> * Why is udev-173 part of core? I can't see what actually depends on it
>   since udevtrigger is provided by procd for ages now.
I think it was probably simply forgotten - we should just delete it from
trunk.

> * eudev and udev conflict also in terms of InstallDev providing the
>   same header filenames and consuming packages expect to find them
>   there. This means they cannot co-exist in the same buildroot without
>   overwriting each others staging files...
> * We could just switch to eudev instead of the (unmaintained and
>   outdated) version of udev we currently got -- however,
> * eudev got almost twice of the binary size of udev...
I don't really care about the binary size increase, I don't think many
people need udev.

> The main reason why I'd like to have udev is persistent aliasing of
> (hotpluggable) serial devices like wwan modems and input devices; udev
> is required for libinput to build.
Interesting.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list