diff options
author | Roland Hieber <rhi@pengutronix.de> | 2021-06-16 18:16:55 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-06-25 15:04:45 +0200 |
commit | cb4ac069a4c692caeeac38e2dbb68415ffc61121 (patch) | |
tree | 0be8bf8d7c5bab6f686b7e97364a7d8bc0450ace /rules/systemd.in | |
parent | 1024453d64fbae7fec6b7942bbc557805126dc53 (diff) | |
download | ptxdist-cb4ac069a4c692caeeac38e2dbb68415ffc61121.tar.gz ptxdist-cb4ac069a4c692caeeac38e2dbb68415ffc61121.tar.xz |
systemd: make hostnamed and quotacheck optional
This reduces the dependency graph and can therefore decrease boot time
on systems that are configured with a static hostname, and which do not
use quota. With this, /usr/share/dbus-1/system-services/ may no longer
contain any service definitions, so add an empty kconfig option for it.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Message-Id: <20210616161655.15480-3-rhi@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/systemd.in')
-rw-r--r-- | rules/systemd.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/rules/systemd.in b/rules/systemd.in index 854c344d5..0c6dcb317 100644 --- a/rules/systemd.in +++ b/rules/systemd.in @@ -56,11 +56,15 @@ comment "D-Bus is needed for the enabled features" config SYSTEMD_DBUS bool +config SYSTEMD_DBUS_SERVICES + bool + config SYSTEMD_MICROHTTPD bool config SYSTEMD_LOCALES bool + select SYSTEMD_DBUS_SERVICES default LOCALES config SYSTEMD_VCONSOLE @@ -77,9 +81,19 @@ config SYSTEMD_DISABLE_RANDOM_SEED the random seed is not possible. Warning: enabling this option may be insecure. +config SYSTEMD_HOSTNAMED + bool + default y + select SYSTEMD_DBUS_SERVICES + prompt "hostname daemon" + help + A tiny daemon that can be used to control the hostname and related + machine meta data from user programs. + config SYSTEMD_LOGIND bool select SYSTEMD_DBUS + select SYSTEMD_DBUS_SERVICES prompt "login daemon" config SYSTEMD_UNITS_USER @@ -89,6 +103,7 @@ config SYSTEMD_UNITS_USER config SYSTEMD_NETWORK bool + select SYSTEMD_DBUS_SERVICES prompt "network configuration with systemd" config SYSTEMD_IPMASQUERADE @@ -102,6 +117,7 @@ config SYSTEMD_TIMEDATE bool default y select SYSTEMD_DBUS + select SYSTEMD_DBUS_SERVICES prompt "date/time handling" help NTP client for time synchronization and local timezone handling. @@ -122,6 +138,13 @@ config SYSTEMD_POLKIT bool default POLKIT +config SYSTEMD_QUOTACHECK + bool + default y + prompt "disk quota support" + help + File system quota checker logic + menu "journald " config SYSTEMD_XZ |