mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 17:20:04 +01:00
udev requires callout binaries to sit in /lib/udev or otherwise provide an absolute path. The test suite should work without installing everything first, so create two rule files - one to install, one with the path to the $builddir/test Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
8 lines
258 B
Text
8 lines
258 B
Text
ACTION!="add|change", GOTO="libinput_device_group_end"
|
|
KERNEL!="event[0-9]*", GOTO="libinput_device_group_end"
|
|
|
|
ATTRS{phys}=="?*", \
|
|
PROGRAM="@UDEV_TEST_PATH@libinput-device-group %S%p", \
|
|
ENV{LIBINPUT_DEVICE_GROUP}="%c"
|
|
|
|
LABEL="libinput_device_group_end"
|