Files
sablink-distro/sys-apps/systemd/files/generator-path.patch
T
Ettore Di Giacinto fe8f6660c5 sys-apps/systemd: Bump to version 235
Package-Manager: Portage-2.3.8, Repoman-2.3.3
2017-10-14 13:08:19 +02:00

28 lines
1.0 KiB
Diff

From d9287b10d714175521e3bcd6c53de4819b1357c5 Mon Sep 17 00:00:00 2001
From: Mike Gilbert <floppym@gentoo.org>
Date: Mon, 17 Jul 2017 11:21:25 -0400
Subject: [PATCH 1/3] path-lookup: look for generators in
{,/usr}/lib/systemd/system-generators
Bug: https://bugs.gentoo.org/625402
---
src/shared/path-lookup.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c
index e2b3f8b74..1ee0e1cdb 100644
--- a/src/shared/path-lookup.c
+++ b/src/shared/path-lookup.c
@@ -821,6 +821,8 @@ char **generator_binary_paths(UnitFileScope scope) {
return strv_new("/run/systemd/system-generators",
"/etc/systemd/system-generators",
"/usr/local/lib/systemd/system-generators",
+ "/usr/lib/systemd/system-generators",
+ "/lib/systemd/system-generators",
SYSTEM_GENERATOR_PATH,
NULL);
--
2.14.0