]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: use systemd-hwdb instead of obsolete udevadm hwdb (#4722)
authorMichael Biebl <mbiebl@gmail.com>
Wed, 23 Nov 2016 18:21:56 +0000 (19:21 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 23 Nov 2016 18:21:56 +0000 (19:21 +0100)
Fixes: #4721
hwdb/60-evdev.hwdb
hwdb/60-keyboard.hwdb
hwdb/70-mouse.hwdb
hwdb/70-pointingstick.hwdb
hwdb/70-touchpad.hwdb
src/core/macros.systemd.in
src/libsystemd/sd-hwdb/sd-hwdb.c

index 0b692a1b5d685be3fbea447e0dbada831c863fea..1205ee53e4767ac273e8c98e77fa5c14c5ba1d21 100644 (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.
index 29e2d9027d6a7450c101f1bb3f1da1f859ead462..bbe375eb5c82aa0895508f819ba03fb208cf1d4d 100644 (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.
index bf3d134c461baf9d95f5aa461bbb8123222032b4..f2a15d2000ef6675c65b609b00cda04d1995b326 100644 (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.
index e18ef2829057169cf82810b48dd474544db0d5ae..117f99455c5a6199f5774bc9b3dcbe9b2feaa164 100644 (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.
index 11f3f96f048249163a42d8290d19d05dfc009c94..088e63bc31bf914ec5cbcc8dcc709a7690f9cf59 100644 (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.
index 6e8a3b3e3d1b8b269c7d704db2b73c8379468d6a..8d7ce1c2387a545b2660f1f6d0360411e81169d2 100644 (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() \
index 488e101ea8a697f8dee92b0acb82de495ac3487d..719e3505c123b72c853c43cb2827bd16ba9d9715 100644 (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;
         }