[systemd-devel] [PATCH] tmpfilesdir should use rootprefix, otherwise units may fail in --enable-split-usr configurations
Dimitri John Ledkov
dimitri.ledkov at canonical.com
Thu Aug 7 07:21:03 PDT 2014
From: Dimitri John Ledkov <xnox at ubuntu.com>
tmpfiles.d files do not depend on /usr present, and in
--enable-split-usr configuration there may be system units
(e.g. shipped in /lib) that rely on tmpfiles.d to be configured
e.g. tmpfiles.d/systemd.conf itself. Hence tmpfiles.d should use
rootprefix.
Signed-off-by: Dimitri John Ledkov <xnox at ubuntu.com>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index ce8f247..81a0cf9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -87,7 +87,7 @@ catalogstatedir=$(systemdstatedir)/catalog
pkgsysconfdir=$(sysconfdir)/systemd
userunitdir=$(prefix)/lib/systemd/user
userpresetdir=$(prefix)/lib/systemd/user-preset
-tmpfilesdir=$(prefix)/lib/tmpfiles.d
+tmpfilesdir=$(rootprefix)/lib/tmpfiles.d
sysusersdir=$(prefix)/lib/sysusers.d
sysctldir=$(prefix)/lib/sysctl.d
binfmtdir=$(prefix)/lib/binfmt.d
--
2.0.1
More information about the systemd-devel
mailing list