hwdb: use systemd-hwdb instead of obsolete udevadm hwdb (#4722)

Fixes: #4721
This commit is contained in:
Michael Biebl 2016-11-23 19:21:56 +01:00 committed by Martin Pitt
parent fadc06bb81
commit 331d6a201b
7 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@
# To add local entries, create a new file
# /etc/udev/hwdb.d/61-evdev-local.hwdb
# and add your rules there. To load the new rules execute (as root):
# udevadm hwdb --update
# systemd-hwdb update
# udevadm trigger /dev/input/eventXX
# where /dev/input/eventXX is the device in question. If in
# doubt, simply use /dev/input/event* to reload all input rules.

View File

@ -46,7 +46,7 @@
# To update this file, create a new file
# /etc/udev/hwdb.d/70-keyboard.hwdb
# and add your rules there. To load the new rules execute (as root):
# udevadm hwdb --update
# systemd-hwdb update
# udevadm trigger /dev/input/eventXX
# where /dev/input/eventXX is the keyboard in question. If in
# doubt, simply use /dev/input/event* to reload all input rules.

View File

@ -31,7 +31,7 @@
# To add local entries, create a new file
# /etc/udev/hwdb.d/71-mouse-local.hwdb
# and add your rules there. To load the new rules execute (as root):
# udevadm hwdb --update
# systemd-hwdb update
# udevadm trigger /dev/input/eventXX
# where /dev/input/eventXX is the mouse in question. If in
# doubt, simply use /dev/input/event* to reload all input rules.

View File

@ -27,7 +27,7 @@
# To add local entries, create a new file
# /etc/udev/hwdb.d/71-pointingstick-local.hwdb
# and add your rules there. To load the new rules execute (as root):
# udevadm hwdb --update
# systemd-hwdb update
# udevadm trigger /dev/input/eventXX
# where /dev/input/eventXX is the pointingstick in question. If in
# doubt, simply use /dev/input/event* to reload all input rules.

View File

@ -18,7 +18,7 @@
# To add local entries, create a new file
# /etc/udev/hwdb.d/71-touchpad-local.hwdb
# and add your rules there. To load the new rules execute (as root):
# udevadm hwdb --update
# systemd-hwdb update
# udevadm trigger /dev/input/eventXX
# where /dev/input/eventXX is the touchpad in question. If in
# doubt, simply use /dev/input/event* to reload all input rules.

View File

@ -81,7 +81,7 @@ fi \
%systemd_user_postun_with_restart() %{nil}
%udev_hwdb_update() \
udevadm hwdb --update >/dev/null 2>&1 || : \
systemd-hwdb update >/dev/null 2>&1 || : \
%{nil}
%udev_rules_update() \

View File

@ -321,7 +321,7 @@ _public_ int sd_hwdb_new(sd_hwdb **ret) {
}
if (!hwdb->f) {
log_debug("hwdb.bin does not exist, please run udevadm hwdb --update");
log_debug("hwdb.bin does not exist, please run systemd-hwdb update");
return -ENOENT;
}