mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
data: Use auto-generated but hardcoded autosuspend hwdb file
This solves various problems: 1. It stays the same also if some drivers have been disabled 2. It uses a stable path for being imported by systemd 3. It is still checked for its validity by tests 4. It can be auto-generated using a simple command
This commit is contained in:
9
data/meson.build
Normal file
9
data/meson.build
Normal file
@@ -0,0 +1,9 @@
|
||||
if get_option('udev_rules')
|
||||
# This file has to be updated using
|
||||
# ninja -C <builddir> libfprint/sync-udev-hwdb
|
||||
|
||||
install_data('autosuspend.hwdb',
|
||||
rename: '60-autosuspend-@0@.hwdb'.format(meson.project_name()),
|
||||
install_dir: udev_hwdb_dir,
|
||||
)
|
||||
endif
|
||||
Reference in New Issue
Block a user