mirror of
https://github.com/systemd/systemd.git
synced 2024-11-30 13:53:39 +08:00
static-nodes: don't hardcode path to mkdir
This commit is contained in:
parent
9f64229f9c
commit
3d56f7df44
@ -4173,6 +4173,7 @@ substitutions = \
|
||||
'|DEBUGTTY=$(DEBUGTTY)|' \
|
||||
'|KILL=$(KILL)|' \
|
||||
'|KMOD=$(KMOD)|' \
|
||||
'|MKDIR_P=$(MKDIR_P)|' \
|
||||
'|QUOTAON=$(QUOTAON)|' \
|
||||
'|QUOTACHECK=$(QUOTACHECK)|' \
|
||||
'|SYSTEM_SYSVINIT_PATH=$(sysvinitdir)|' \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user