From 03dfe7b749796c10074b5ebc5e9c3f947d726104 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 9 Jun 2015 10:58:06 +1000 Subject: hwdb: actually search /run/udev/hwdb.d 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 | 1 + src/udev/udevadm-hwdb.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src') 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 }; -- cgit v1.2.3-54-g00ecf