[systemd-commits] Makefile.am units/kmod-static-nodes.service.in
Tom Gundersen
tomegun at kemper.freedesktop.org
Fri Jul 12 11:09:02 PDT 2013
Makefile.am | 1 +
units/kmod-static-nodes.service.in | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 3d56f7df4411684404470d36ddec0d90649a13a3
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jul 12 11:14:54 2013 +0200
static-nodes: don't hardcode path to mkdir
diff --git a/Makefile.am b/Makefile.am
index f1dfeed..2283d05 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4173,6 +4173,7 @@ substitutions = \
'|DEBUGTTY=$(DEBUGTTY)|' \
'|KILL=$(KILL)|' \
'|KMOD=$(KMOD)|' \
+ '|MKDIR_P=$(MKDIR_P)|' \
'|QUOTAON=$(QUOTAON)|' \
'|QUOTACHECK=$(QUOTACHECK)|' \
'|SYSTEM_SYSVINIT_PATH=$(sysvinitdir)|' \
diff --git a/units/kmod-static-nodes.service.in b/units/kmod-static-nodes.service.in
index f8a2d47..624a650 100644
--- a/units/kmod-static-nodes.service.in
+++ b/units/kmod-static-nodes.service.in
@@ -12,5 +12,5 @@ Before=sysinit.target systemd-tmpfiles-setup-dev.service
[Service]
Type=oneshot
-ExecStartPre=/usr/bin/mkdir -p /run/tmpfiles.d
+ExecStartPre=@MKDIR_P@ /run/tmpfiles.d
ExecStart=@KMOD@ static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
More information about the systemd-commits
mailing list