diff options
author | Michael Biebl <mbiebl@gmail.com> | 2016-11-23 19:21:56 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-11-23 19:21:56 +0100 |
commit | 331d6a201b82a03c5343bb9c25280f0cd8b7d9fb (patch) | |
tree | 262dd1e1e1c4c629f0bd14f0c0fdf049bb6306a2 | |
parent | fadc06bb8166b7ee494ed90b054f083ac4db4e11 (diff) |
hwdb: use systemd-hwdb instead of obsolete udevadm hwdb (#4722)
Fixes: #4721
-rw-r--r-- | hwdb/60-evdev.hwdb | 2 | ||||
-rw-r--r-- | hwdb/60-keyboard.hwdb | 2 | ||||
-rw-r--r-- | hwdb/70-mouse.hwdb | 2 | ||||
-rw-r--r-- | hwdb/70-pointingstick.hwdb | 2 | ||||
-rw-r--r-- | hwdb/70-touchpad.hwdb | 2 | ||||
-rw-r--r-- | src/core/macros.systemd.in | 2 | ||||
-rw-r--r-- | src/libsystemd/sd-hwdb/sd-hwdb.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/hwdb/60-evdev.hwdb b/hwdb/60-evdev.hwdb index 0b692a1b5d..1205ee53e4 100644 --- a/hwdb/60-evdev.hwdb +++ b/hwdb/60-evdev.hwdb @@ -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. diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index 29e2d9027d..bbe375eb5c 100644 --- a/hwdb/60-keyboard.hwdb +++ b/hwdb/60-keyboard.hwdb @@ -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. diff --git a/hwdb/70-mouse.hwdb b/hwdb/70-mouse.hwdb index bf3d134c46..f2a15d2000 100644 --- a/hwdb/70-mouse.hwdb +++ b/hwdb/70-mouse.hwdb @@ -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. diff --git a/hwdb/70-pointingstick.hwdb b/hwdb/70-pointingstick.hwdb index e18ef28290..117f99455c 100644 --- a/hwdb/70-pointingstick.hwdb +++ b/hwdb/70-pointingstick.hwdb @@ -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. diff --git a/hwdb/70-touchpad.hwdb b/hwdb/70-touchpad.hwdb index 11f3f96f04..088e63bc31 100644 --- a/hwdb/70-touchpad.hwdb +++ b/hwdb/70-touchpad.hwdb @@ -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. diff --git a/src/core/macros.systemd.in b/src/core/macros.systemd.in index 6e8a3b3e3d..8d7ce1c238 100644 --- a/src/core/macros.systemd.in +++ b/src/core/macros.systemd.in @@ -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() \ diff --git a/src/libsystemd/sd-hwdb/sd-hwdb.c b/src/libsystemd/sd-hwdb/sd-hwdb.c index 488e101ea8..719e3505c1 100644 --- a/src/libsystemd/sd-hwdb/sd-hwdb.c +++ b/src/libsystemd/sd-hwdb/sd-hwdb.c @@ -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; } |