Contents of /trunk/systemd/patches/systemd-235-generator-path.patch
Parent Directory | Revision Log
Revision 3002 -
(show annotations)
(download)
Tue Oct 17 11:43:31 2017 UTC (6 years, 11 months ago) by niro
File size: 1046 byte(s)
Tue Oct 17 11:43:31 2017 UTC (6 years, 11 months ago) by niro
File size: 1046 byte(s)
-fixed generator pathes
1 | From d9287b10d714175521e3bcd6c53de4819b1357c5 Mon Sep 17 00:00:00 2001 |
2 | From: Mike Gilbert <floppym@gentoo.org> |
3 | Date: Mon, 17 Jul 2017 11:21:25 -0400 |
4 | Subject: [PATCH 1/3] path-lookup: look for generators in |
5 | {,/usr}/lib/systemd/system-generators |
6 | |
7 | Bug: https://bugs.gentoo.org/625402 |
8 | --- |
9 | src/shared/path-lookup.c | 2 ++ |
10 | 1 file changed, 2 insertions(+) |
11 | |
12 | diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c |
13 | index e2b3f8b74..1ee0e1cdb 100644 |
14 | --- a/src/shared/path-lookup.c |
15 | +++ b/src/shared/path-lookup.c |
16 | @@ -821,6 +821,8 @@ char **generator_binary_paths(UnitFileScope scope) { |
17 | return strv_new("/run/systemd/system-generators", |
18 | "/etc/systemd/system-generators", |
19 | "/usr/local/lib/systemd/system-generators", |
20 | + "/usr/lib/systemd/system-generators", |
21 | + "/lib/systemd/system-generators", |
22 | SYSTEM_GENERATOR_PATH, |
23 | NULL); |
24 | |
25 | -- |
26 | 2.14.0 |
27 |