]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: actually search /run/udev/hwdb.d 115/head
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 9 Jun 2015 00:58:06 +0000 (10:58 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 9 Jun 2015 01:52:10 +0000 (11:52 +1000)
The documentation claims hwdb entries may be placed in the volatile
/run/udev/hwdb.d directory but nothing actually looked at it.

src/hwdb/hwdb.c
src/udev/udevadm-hwdb.c
units/systemd-hwdb-update.service.in

index 446de3a2fc330f4f10d52fec816e5d376ee719ea..62b76c9e893a265393011237d3c65d0b0f2b821a 100644 (file)
@@ -43,6 +43,7 @@ static const char *arg_root = "";
 
 static const char * const conf_file_dirs[] = {
         "/etc/udev/hwdb.d",
+        "/run/udev/hwdb.d",
         UDEVLIBEXECDIR "/hwdb.d",
         NULL
 };
index 00609e31b52202d4af5ef76d5c32a07fc1c473de..4c933de696e45252905c7d9efb5e3099a49cf778 100644 (file)
@@ -37,6 +37,7 @@
 
 static const char * const conf_file_dirs[] = {
         "/etc/udev/hwdb.d",
+        "/run/udev/hwdb.d",
         UDEVLIBEXECDIR "/hwdb.d",
         NULL
 };
index 7135cff3d9b413281e83d0bed0bf4bb39fa127f1..d13383d55d202eec759d19f4eeeec6c5670c5e81 100644 (file)
@@ -16,6 +16,7 @@ ConditionNeedsUpdate=/etc
 ConditionPathExists=|!@udevlibexecdir@/hwdb.bin
 ConditionPathExists=|/etc/udev/hwdb.bin
 ConditionDirectoryNotEmpty=|/etc/udev/hwdb.d/
+ConditionDirectoryNotEmpty=|/run/udev/hwdb.d/
 
 [Service]
 Type=oneshot