Another tweak for the preparation of removal of sysvinit compat (#35414)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
if conf.get('HAVE_SYSV_COMPAT') == 1 and get_option('create-log-dirs')
|
||||
if get_option('create-log-dirs')
|
||||
install_data('README.logs',
|
||||
install_dir : docdir)
|
||||
endif
|
||||
|
||||
@@ -13,12 +13,11 @@
|
||||
|
||||
d /run/lock 0755 root root -
|
||||
L /var/lock - - - - ../run/lock
|
||||
|
||||
{% if HAVE_SYSV_COMPAT %}
|
||||
{% if CREATE_LOG_DIRS %}
|
||||
L$ /var/log/README - - - - ../..{{DOC_DIR}}/README.logs
|
||||
{% endif %}
|
||||
|
||||
{% if HAVE_SYSV_COMPAT %}
|
||||
# /run/lock/subsys is used for serializing SysV service execution, and
|
||||
# hence without use on SysV-less systems.
|
||||
d /run/lock/subsys 0755 root root -
|
||||
|
||||
Reference in New Issue
Block a user