mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
build: skip installation of 2 files if feature is disabled
dont install systemd-update-utmp if utmp is disabled. dont install systemd-initctl.service if sysv is disabled.
This commit is contained in:
parent
0119ab3d6c
commit
55678b9eae
@ -3,7 +3,7 @@
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
||||
<!-- SPDX-License-Identifier: LGPL-2.1+ -->
|
||||
|
||||
<refentry id="systemd-initctl.service">
|
||||
<refentry id="systemd-initctl.service" conditional='HAVE_SYSV_COMPAT'>
|
||||
|
||||
<refentryinfo>
|
||||
<title>systemd-initctl.service</title>
|
||||
|
@ -3080,7 +3080,7 @@ executable(
|
||||
link_with : [libshared],
|
||||
dependencies : [libaudit],
|
||||
install_rpath : rootlibexecdir,
|
||||
install : true,
|
||||
install : (conf.get('ENABLE_UTMP') == 1),
|
||||
install_dir : rootlibexecdir)
|
||||
|
||||
if conf.get('HAVE_KMOD') == 1
|
||||
|
@ -180,7 +180,7 @@ in_units = [
|
||||
'sysinit.target.wants/'],
|
||||
['systemd-importd.service', 'ENABLE_IMPORTD',
|
||||
'dbus-org.freedesktop.import1.service'],
|
||||
['systemd-initctl.service', ''],
|
||||
['systemd-initctl.service', 'HAVE_SYSV_COMPAT'],
|
||||
['systemd-journal-gatewayd.service', 'ENABLE_REMOTE HAVE_MICROHTTPD'],
|
||||
['systemd-journal-remote.service', 'ENABLE_REMOTE HAVE_MICROHTTPD'],
|
||||
['systemd-journal-upload.service', 'ENABLE_REMOTE HAVE_LIBCURL'],
|
||||
|
Loading…
Reference in New Issue
Block a user