fix(packaging): apply udev rules for uhid (#3041)

This commit is contained in:
Cameron Gutman 2024-08-19 08:29:49 -05:00 committed by GitHub
commit 17c4b26af0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View file

@ -5,7 +5,9 @@ do_setcap() {
do_udev_reload() {
udevadm control --reload-rules
udevadm trigger --property-match=DEVNAME=/dev/uinput
udevadm trigger --property-match=DEVNAME=/dev/uhid
modprobe uinput || true
modprobe uhid || true
}
post_install() {