e7eaecedc6
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. This also changes the name of the option and the type to "feature".
11 lines
410 B
Meson
11 lines
410 B
Meson
if udev_hwdb_dir != ''
|
|
# This file has to be updated using
|
|
# ninja -C <builddir> libfprint/sync-udev-hwdb
|
|
# Note that the unsupported device list needs to be manually synced from
|
|
# the wiki. See comment in libfprint/fprint-list-uev-hwdb.c
|
|
|
|
install_data('autosuspend.hwdb',
|
|
rename: '60-autosuspend-@0@.hwdb'.format(versioned_libname),
|
|
install_dir: udev_hwdb_dir,
|
|
)
|
|
endif
|