2022-08-12 12:06:08 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2020-04-24 23:36:52 +00:00
|
|
|
From: Nikolay Amiantov <ab@fmap.me>
|
|
|
|
Date: Thu, 7 Jul 2016 02:47:13 +0300
|
2022-08-12 12:06:08 +00:00
|
|
|
Subject: [PATCH] Fix hwdb paths
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
Patch by vcunat.
|
|
|
|
---
|
2021-09-26 12:46:18 +00:00
|
|
|
src/libsystemd/sd-hwdb/hwdb-internal.h | 7 ++-----
|
|
|
|
1 file changed, 2 insertions(+), 5 deletions(-)
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
diff --git a/src/libsystemd/sd-hwdb/hwdb-internal.h b/src/libsystemd/sd-hwdb/hwdb-internal.h
|
2023-03-27 19:17:25 +00:00
|
|
|
index 5302679a62..c681f3a984 100644
|
2021-09-26 12:46:18 +00:00
|
|
|
--- a/src/libsystemd/sd-hwdb/hwdb-internal.h
|
|
|
|
+++ b/src/libsystemd/sd-hwdb/hwdb-internal.h
|
2022-08-12 12:06:08 +00:00
|
|
|
@@ -83,8 +83,5 @@ struct trie_value_entry2_f {
|
2021-09-26 12:46:18 +00:00
|
|
|
} _packed_;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
#define hwdb_bin_paths \
|
|
|
|
- "/etc/systemd/hwdb/hwdb.bin\0" \
|
|
|
|
- "/etc/udev/hwdb.bin\0" \
|
|
|
|
- "/usr/lib/systemd/hwdb/hwdb.bin\0" \
|
|
|
|
- _CONF_PATHS_SPLIT_USR_NULSTR("systemd/hwdb/hwdb.bin") \
|
|
|
|
- UDEVLIBEXECDIR "/hwdb.bin\0"
|
|
|
|
+ "/etc/udev/hwdb.bin\0"
|
|
|
|
+
|