2021-11-05 07:09:50 +00:00
|
|
|
From 39969a1b01d6c223a21c770093209b7f4047aaa4 Mon Sep 17 00:00:00 2001
|
2020-01-26 13:56:41 +00:00
|
|
|
From: Andreas Rammhold <andreas@rammhold.de>
|
|
|
|
Date: Thu, 9 May 2019 11:15:22 +0200
|
2021-11-05 07:09:50 +00:00
|
|
|
Subject: [PATCH 13/21] add rootprefix to lookup dir paths
|
2020-01-26 13:56:41 +00:00
|
|
|
|
|
|
|
systemd does not longer use the UDEVLIBEXEC directory as root for
|
|
|
|
discovery default udev rules. By adding `$out/lib` to the lookup paths
|
|
|
|
we should again be able to discover the udev rules amongst other default
|
|
|
|
files that I might have missed.
|
|
|
|
---
|
|
|
|
src/basic/def.h | 6 ++++--
|
|
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/basic/def.h b/src/basic/def.h
|
2020-11-01 14:35:11 +00:00
|
|
|
index 2e60abb4f1..732ec51d36 100644
|
2020-01-26 13:56:41 +00:00
|
|
|
--- a/src/basic/def.h
|
|
|
|
+++ b/src/basic/def.h
|
|
|
|
@@ -39,13 +39,15 @@
|
|
|
|
"/run/" n "\0" \
|
|
|
|
"/usr/local/lib/" n "\0" \
|
|
|
|
"/usr/lib/" n "\0" \
|
|
|
|
- _CONF_PATHS_SPLIT_USR_NULSTR(n)
|
|
|
|
+ _CONF_PATHS_SPLIT_USR_NULSTR(n) \
|
|
|
|
+ ROOTPREFIX "/lib/" n "\0"
|
|
|
|
|
|
|
|
#define CONF_PATHS_USR(n) \
|
|
|
|
"/etc/" n, \
|
|
|
|
"/run/" n, \
|
|
|
|
"/usr/local/lib/" n, \
|
|
|
|
- "/usr/lib/" n
|
|
|
|
+ "/usr/lib/" n, \
|
|
|
|
+ ROOTPREFIX "/lib/" n
|
|
|
|
|
|
|
|
#define CONF_PATHS(n) \
|
|
|
|
CONF_PATHS_USR(n) \
|
|
|
|
--
|
2021-10-16 14:49:53 +01:00
|
|
|
2.33.0
|
2020-01-26 13:56:41 +00:00
|
|
|
|