Skip to content

meson: Autodetect whether autosuspend rules are provided by udev

Benjamin Berg requested to merge benzea/detect-systemd into master

Upstream systemd/udev is pulling our autosuspend hwdb, so if udev is new enough, then there is no need to install the file. As such, add auto-detection logic for the scenario.

tbh. not entirely sure it is sane. Maybe we should just warn about it?

Merge request reports