lol
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Andreas Rammhold <andreas@rammhold.de>
3Date: Thu, 9 May 2019 11:15:22 +0200
4Subject: [PATCH] add rootprefix to lookup dir paths
5
6systemd does not longer use the UDEVLIBEXEC directory as root for
7discovery default udev rules. By adding `$out/lib` to the lookup paths
8we should again be able to discover the udev rules amongst other default
9files that I might have missed.
10---
11 src/basic/constants.h | 6 ++++--
12 1 file changed, 4 insertions(+), 2 deletions(-)
13
14diff --git a/src/basic/constants.h b/src/basic/constants.h
15index 3f96786da9..6e8fb40c08 100644
16--- a/src/basic/constants.h
17+++ b/src/basic/constants.h
18@@ -74,13 +74,15 @@
19 "/run/" n "\0" \
20 "/usr/local/lib/" n "\0" \
21 "/usr/lib/" n "\0" \
22- _CONF_PATHS_SPLIT_USR_NULSTR(n)
23+ _CONF_PATHS_SPLIT_USR_NULSTR(n) \
24+ ROOTPREFIX "/lib/" n "\0"
25
26 #define CONF_PATHS_USR(n) \
27 "/etc/" n, \
28 "/run/" n, \
29 "/usr/local/lib/" n, \
30- "/usr/lib/" n
31+ "/usr/lib/" n, \
32+ ROOTPREFIX "/lib/" n
33
34 #define CONF_PATHS(n) \
35 CONF_PATHS_USR(n) \