summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-06-09 07:19:49 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2015-06-09 07:19:49 +0200
commitfba3d902b49e1f4654b36c9d4311def4a084c3a7 (patch)
treee312b30b5ffc961d15bff5ad77550431e6db764e /src
parent6f90fe6de6c1086502d300bfc54b8b19c59a22a9 (diff)
parent03dfe7b749796c10074b5ebc5e9c3f947d726104 (diff)
Merge pull request #115 from whot/master
hwdb: actually search /run/udev/hwdb.d
Diffstat (limited to 'src')
-rw-r--r--src/hwdb/hwdb.c1
-rw-r--r--src/udev/udevadm-hwdb.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/hwdb/hwdb.c b/src/hwdb/hwdb.c
index 446de3a2fc..62b76c9e89 100644
--- a/src/hwdb/hwdb.c
+++ b/src/hwdb/hwdb.c
@@ -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
};
diff --git a/src/udev/udevadm-hwdb.c b/src/udev/udevadm-hwdb.c
index 00609e31b5..4c933de696 100644
--- a/src/udev/udevadm-hwdb.c
+++ b/src/udev/udevadm-hwdb.c
@@ -37,6 +37,7 @@
static const char * const conf_file_dirs[] = {
"/etc/udev/hwdb.d",
+ "/run/udev/hwdb.d",
UDEVLIBEXECDIR "/hwdb.d",
NULL
};