From 32ed3060f9414045d910db9d947148404cf3f721 Mon Sep 17 00:00:00 2001 From: David Senoner Date: Tue, 11 Nov 2025 15:44:43 +0100 Subject: [PATCH] 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: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c42bb92a..bb253c42 100644 --- a/meson.build +++ b/meson.build @@ -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,