mirror of
https://github.com/systemd/systemd.git
synced 2025-02-08 09:57:41 +03:00
move /var/lock to HAVE_SYSV_COMPAT
This commit is contained in:
parent
16b879e3ee
commit
5b75435328
@ -253,7 +253,6 @@ dist_systemunit_DATA = \
|
||||
units/sys-kernel-debug.mount \
|
||||
units/sys-kernel-security.automount \
|
||||
units/sys-kernel-security.mount \
|
||||
units/var-lock.mount \
|
||||
units/var-run.mount \
|
||||
units/media.mount \
|
||||
units/hwclock-load.service \
|
||||
@ -270,6 +269,12 @@ dist_systemunit_DATA = \
|
||||
units/systemd-ask-password-console.path \
|
||||
units/syslog.target
|
||||
|
||||
if HAVE_SYSV_COMPAT
|
||||
dist_systemunit_DATA += \
|
||||
units/var-lock.mount
|
||||
endif
|
||||
|
||||
|
||||
nodist_systemunit_DATA = \
|
||||
units/getty@.service \
|
||||
units/serial-getty@.service \
|
||||
|
@ -17,5 +17,6 @@
|
||||
# On modern systems a BSD file lock is a better choice if
|
||||
# serialization is needed on those devices.
|
||||
|
||||
d /run/lock 0755 root root -
|
||||
d /run/lock/subsys 0755 root root -
|
||||
d /run/lock/lockdev 0775 root lock -
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
# See tmpfiles.d(5) for details
|
||||
|
||||
d /run/lock 0755 root root -
|
||||
d /run/user 0755 root root 10d
|
||||
F /run/utmp 0664 root utmp -
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user