mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 04:30:06 +01:00
meson.build: use absolute path for callouts in udev rules
Udev rules can be put in many different directories to be found by udev (see link #1). The callouts can be put only in one specific directory if you want them to be found by using a relative path (only in UDEV_LIBEXECDIR, see link #2). By passing the absolute path to the rule you can make sure the callout will always be found. Link 1: https://man7.org/linux/man-pages/man7/udev.7.html Link 2: https://github.com/systemd/systemd/blob/main/src/udev/udev-spawn.c#L289 Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1364>
This commit is contained in:
parent
a12dc6eba3
commit
32ed3060f9
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ executable('libinput-fuzz-to-zero',
|
|||
install_dir : dir_udev_callouts)
|
||||
|
||||
udev_rules_config = configuration_data()
|
||||
udev_rules_config.set('UDEV_TEST_PATH', '')
|
||||
udev_rules_config.set('UDEV_TEST_PATH', dir_udev_callouts + '/')
|
||||
configure_file(input : 'udev/80-libinput-device-groups.rules.in',
|
||||
output : '80-libinput-device-groups.rules',
|
||||
install_dir : dir_udev_rules,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue