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: Andreas Rammhold <andreas@rammhold.de>
|
|
|
|
Date: Thu, 9 May 2019 11:15:22 +0200
|
2022-08-12 12:06:08 +00:00
|
|
|
Subject: [PATCH] add rootprefix to lookup dir paths
|
2020-04-24 23:36:52 +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.
|
|
|
|
---
|
2023-03-27 19:17:25 +00:00
|
|
|
src/basic/constants.h | 6 ++++--
|
2020-04-24 23:36:52 +00:00
|
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
|
2023-03-27 19:17:25 +00:00
|
|
|
diff --git a/src/basic/constants.h b/src/basic/constants.h
|
2024-01-25 14:12:00 +00:00
|
|
|
index 6bb5f3c281..678d13737d 100644
|
2023-03-27 19:17:25 +00:00
|
|
|
--- a/src/basic/constants.h
|
|
|
|
+++ b/src/basic/constants.h
|
2024-01-25 14:12:00 +00:00
|
|
|
@@ -65,13 +65,15 @@
|
|
|
|
"/etc/" n "\0" \
|
2020-04-24 23:36:52 +00:00
|
|
|
"/run/" n "\0" \
|
|
|
|
"/usr/local/lib/" n "\0" \
|
2024-01-25 14:12:00 +00:00
|
|
|
- "/usr/lib/" n "\0"
|
|
|
|
+ "/usr/lib/" n "\0" \
|
|
|
|
+ PREFIX "/lib/" n "\0"
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
#define CONF_PATHS_USR(n) \
|
|
|
|
"/etc/" n, \
|
|
|
|
"/run/" n, \
|
|
|
|
"/usr/local/lib/" n, \
|
|
|
|
- "/usr/lib/" n
|
|
|
|
+ "/usr/lib/" n, \
|
2024-01-25 14:12:00 +00:00
|
|
|
+ PREFIX "/lib/" n
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
#define CONF_PATHS(n) \
|
2024-01-25 14:12:00 +00:00
|
|
|
CONF_PATHS_USR(n)
|