summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--units/kmod-static-nodes.service.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f1dfeedf58..2283d05789 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 f8a2d474ef..624a650526 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