systemd: move hwdb patch to the fork itself
This commit is contained in:
parent
1ac6f1fe25
commit
8bbfba48c4
@ -20,8 +20,6 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1ig7jwmvaa1r4qlngjpnvvvvxhmzbxr171d257q4ryf87l93g1an";
|
sha256 = "1ig7jwmvaa1r4qlngjpnvvvvxhmzbxr171d257q4ryf87l93g1an";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./hwdb-location.diff ];
|
|
||||||
|
|
||||||
/* gave up for now!
|
/* gave up for now!
|
||||||
outputs = [ "out" "libudev" "doc" ]; # maybe: "dev"
|
outputs = [ "out" "libudev" "doc" ]; # maybe: "dev"
|
||||||
# note: there are many references to ${systemd}/...
|
# note: there are many references to ${systemd}/...
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
diff --git a/src/libsystemd/sd-hwdb/sd-hwdb.c b/src/libsystemd/sd-hwdb/sd-hwdb.c
|
|
||||||
index 06c9831..e74825c 100644
|
|
||||||
--- a/src/libsystemd/sd-hwdb/sd-hwdb.c
|
|
||||||
+++ b/src/libsystemd/sd-hwdb/sd-hwdb.c
|
|
||||||
@@ -268,13 +268,8 @@ static int trie_search_f(sd_hwdb *hwdb, const char *search) {
|
|
||||||
}
|
|
||||||
|
|
||||||
static const char hwdb_bin_paths[] =
|
|
||||||
- "/etc/systemd/hwdb/hwdb.bin\0"
|
|
||||||
"/etc/udev/hwdb.bin\0"
|
|
||||||
- "/usr/lib/systemd/hwdb/hwdb.bin\0"
|
|
||||||
-#ifdef HAVE_SPLIT_USR
|
|
||||||
- "/lib/systemd/hwdb/hwdb.bin\0"
|
|
||||||
-#endif
|
|
||||||
- UDEVLIBEXECDIR "/hwdb.bin\0";
|
|
||||||
+ ;
|
|
||||||
|
|
||||||
_public_ int sd_hwdb_new(sd_hwdb **ret) {
|
|
||||||
_cleanup_hwdb_unref_ sd_hwdb *hwdb = NULL;
|
|
Loading…
x
Reference in New Issue
Block a user