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 | Merge pull request #4259 from joukewitteveen/notify (diff) | |
download | systemd-331d6a201b82a03c5343bb9c25280f0cd8b7d9fb.tar.gz systemd-331d6a201b82a03c5343bb9c25280f0cd8b7d9fb.tar.bz2 systemd-331d6a201b82a03c5343bb9c25280f0cd8b7d9fb.zip |
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 0b692a1b5..1205ee53e 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 29e2d9027..bbe375eb5 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 bf3d134c4..f2a15d200 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 e18ef2829..117f99455 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 11f3f96f0..088e63bc3 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 6e8a3b3e3..8d7ce1c23 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 488e101ea..719e3505c 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; } |