static-nodes: don't hardcode path to mkdir
This commit is contained in:
parent
9f64229f9c
commit
3d56f7df44
|
@ -4173,6 +4173,7 @@ substitutions = \
|
||||||
'|DEBUGTTY=$(DEBUGTTY)|' \
|
'|DEBUGTTY=$(DEBUGTTY)|' \
|
||||||
'|KILL=$(KILL)|' \
|
'|KILL=$(KILL)|' \
|
||||||
'|KMOD=$(KMOD)|' \
|
'|KMOD=$(KMOD)|' \
|
||||||
|
'|MKDIR_P=$(MKDIR_P)|' \
|
||||||
'|QUOTAON=$(QUOTAON)|' \
|
'|QUOTAON=$(QUOTAON)|' \
|
||||||
'|QUOTACHECK=$(QUOTACHECK)|' \
|
'|QUOTACHECK=$(QUOTACHECK)|' \
|
||||||
'|SYSTEM_SYSVINIT_PATH=$(sysvinitdir)|' \
|
'|SYSTEM_SYSVINIT_PATH=$(sysvinitdir)|' \
|
||||||
|
|
|
@ -12,5 +12,5 @@ Before=sysinit.target systemd-tmpfiles-setup-dev.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
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
|
ExecStart=@KMOD@ static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
|
||||||
|
|
Loading…
Reference in a new issue