1 config BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
3 # see src/shared/architecture.h
4 default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \
5 BR2_mipsel || BR2_powerpc || BR2_powerpc64 || \
6 BR2_powerpc64le || BR2_sh4 || BR2_sh4eb || \
7 BR2_sh4a || BR2_sh4aeb || BR2_sparc || BR2_x86_64 || \
8 BR2_aarch64 || BR2_m68k
10 menuconfig BR2_PACKAGE_SYSTEMD
12 depends on BR2_INIT_SYSTEMD
13 depends on !BR2_STATIC_LIBS # kmod
14 depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
15 depends on BR2_USE_MMU # dbus
16 select BR2_PACKAGE_HAS_UDEV
17 select BR2_PACKAGE_DBUS # runtime dependency only
18 select BR2_PACKAGE_LIBCAP
19 select BR2_PACKAGE_UTIL_LINUX
20 select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
21 select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
22 select BR2_PACKAGE_UTIL_LINUX_BINARIES
23 select BR2_PACKAGE_UTIL_LINUX_MOUNT
24 select BR2_PACKAGE_UTIL_LINUX_NOLOGIN
25 select BR2_PACKAGE_UTIL_LINUX_FSCK
26 select BR2_PACKAGE_KMOD
27 select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod-tools
28 select BR2_PACKAGE_KMOD_TOOLS
29 select BR2_TARGET_TZ_INFO
30 select BR2_NEEDS_HOST_UTF8_LOCALE
32 systemd is a system and service manager for Linux,
33 compatible with SysV and LSB init scripts. systemd provides
34 aggressive parallelization capabilities, uses socket and
35 D-Bus activation for starting services, offers on-demand
36 starting of daemons, keeps track of processes using Linux
37 cgroups, supports snapshotting and restoring of the system
38 state, maintains mount and automount points and implements
39 an elaborate transactional dependency-based service control
40 logic. It can work as a drop-in replacement for sysvinit.
42 Systemd requires a Linux kernel >= 3.0 with the following
49 - CONFIG_TMPFS_POSIX_ACL
52 These options will be automatically enabled by Buildroot if
53 it is responsible for building the kernel. Otherwise, if you
54 are building your kernel outside of Buildroot, make sure
55 these options are enabled.
57 Systemd also provides udev, the userspace device daemon.
59 The selection of other packages will enable some features:
61 - acl package will add support for multi-seat.
62 - xz and/or l4 packages will add compression support in
64 - libcurl package will add support for systemd-journal-upload.
65 - libgcrypt package will add support for journal sealing and
66 DNSSEC verification in resolved.
68 Notice that systemd selects the fsck wrapper from util-linux
69 but no particular fsck.<fstype> is selected. You must choose
70 the apropriate ones (e.g. e2fsck, from the e2fsprogs
71 package) according to the system configuration.
73 http://freedesktop.org/wiki/Software/systemd
75 if BR2_PACKAGE_SYSTEMD
77 config BR2_PACKAGE_PROVIDES_UDEV
80 config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
81 bool "HTTP server for journal events"
82 select BR2_PACKAGE_LIBMICROHTTPD
84 systemd-journal-gatewayd serves journal events over the
85 network. Clients must connect using HTTP. The server
86 listens on port 19531 by default.
88 http://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html
90 config BR2_PACKAGE_SYSTEMD_BACKLIGHT
91 bool "enable backlight support"
93 systemd-backlight is a service that restores the display
94 backlight brightness at early boot and saves it at shutdown.
96 http://www.freedesktop.org/software/systemd/man/systemd-backlight@.service.html
98 config BR2_PACKAGE_SYSTEMD_BINFMT
99 bool "enable binfmt tool"
101 systemd-binfmt is an early boot service that registers
102 additional binary formats for executables in the kernel.
104 http://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html
106 config BR2_PACKAGE_SYSTEMD_COREDUMP
107 bool "enable coredump hook"
109 systemd-coredump can be used as a helper binary by the
110 kernel when a user space program receives a fatal signal and
113 http://www.freedesktop.org/software/systemd/man/systemd-coredump.html
115 config BR2_PACKAGE_SYSTEMD_FIRSTBOOT
116 bool "enable firstboot support"
118 systemd-firstboot initializes the most basic system settings
119 interactively on the first boot.
121 http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html
123 config BR2_PACKAGE_SYSTEMD_HIBERNATE
124 bool "enable hibernation support"
126 When this features is enabled, additional tools and services
127 are built to support suspending and resuming the system.
129 http://www.freedesktop.org/software/systemd/man/systemd-sleep.html
131 config BR2_PACKAGE_SYSTEMD_HOSTNAMED
132 bool "enable hostname daemon"
135 systemd-hostnamed is a system service that may be used as a
136 mechanism to change the system's hostname.
138 http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html
140 config BR2_PACKAGE_SYSTEMD_HWDB
141 bool "enable hwdb installation"
144 Enables hardware database installation to /usr/lib/udev/hwdb.d
146 Disabling this option improves first boot time (or every boot
147 time in case of initramfs images) and saves several MB space.
149 https://www.freedesktop.org/software/systemd/man/hwdb.html
151 config BR2_PACKAGE_SYSTEMD_IMPORTD
152 bool "enable import daemon"
153 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
154 select BR2_PACKAGE_LIBCURL
155 select BR2_PACKAGE_LIBGCRYPT
156 select BR2_PACKAGE_BZIP2
157 select BR2_PACKAGE_LZ4
158 select BR2_PACKAGE_XZ
159 select BR2_PACKAGE_ZLIB
161 systemd-importd is a system service that manages virtual
162 machine and container images for systemd-machined and
165 http://www.freedesktop.org/software/systemd/man/machinectl.html#Image%20Transfer%20Commands
167 config BR2_PACKAGE_SYSTEMD_LOCALED
168 bool "enable locale daemon"
170 systemd-localed is a system service that may be used as
171 mechanism to change the system locale settings, as well as
172 the console key mapping and default X11 key mapping.
174 http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html
176 config BR2_PACKAGE_SYSTEMD_LOGIND
177 bool "enable login daemon"
179 systemd-logind is a system service that manages user logins.
181 http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html
183 config BR2_PACKAGE_SYSTEMD_MACHINED
184 bool "enable machine daemon"
186 systemd-machined is a system service that keeps track of
187 virtual machines and containers, and processes belonging to
190 http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html
192 config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
193 bool "enable myhostname NSS plugin"
195 depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs nss.h
197 nss-myhostname is a plug-in module for the GNU Name Service
198 Switch (NSS) functionality of the GNU C Library (glibc),
199 primarily providing hostname resolution for the locally
200 configured system hostname as returned by gethostname(2).
202 http://www.freedesktop.org/software/systemd/man/nss-myhostname.html
204 config BR2_PACKAGE_SYSTEMD_NETWORKD
205 bool "enable network manager"
208 systemd-networkd is a system service that manages networks.
209 It detects and configures network devices as they appear, as
210 well as creating virtual network devices.
212 This simple network configuration solution is an alternative
213 to dhcpcd or ISC dhcp.
215 http://www.freedesktop.org/software/systemd/man/systemd-networkd.html
217 config BR2_PACKAGE_SYSTEMD_POLKIT
218 bool "enable polkit support"
219 select BR2_PACKAGE_POLKIT
221 If enabled, systemd is built with polkit support and policy
222 files for its services are generated and installed. It is
223 useful for allowing unprivileged processes to speak to
224 systemd's many privileged processes.
226 http://wiki.freedesktop.org/www/Software/polkit/
228 config BR2_PACKAGE_SYSTEMD_QUOTACHECK
229 bool "enable quotacheck tools"
231 systemd-quotacheck is a service responsible for file system
232 quota checks. It is run once at boot after all necessary
233 file systems are mounted. It is pulled in only if at least
234 one file system has quotas enabled.
236 http://www.freedesktop.org/software/systemd/man/systemd-quotacheck.service.html
238 config BR2_PACKAGE_SYSTEMD_RANDOMSEED
239 bool "enable random-seed support"
241 systemd-random-seed is a service that restores the random
242 seed of the system at early boot and saves it at
243 shutdown. Saving/restoring the random seed across boots
244 increases the amount of available entropy early at boot.
246 http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html
248 config BR2_PACKAGE_SYSTEMD_RESOLVED
249 bool "enable resolve daemon"
251 depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs nss.h
253 systemd-resolved is a system service that provides network
254 name resolution to local applications. It implements a
255 caching and validating DNS/DNSSEC stub resolver, as well as
256 an LLMNR resolver and responder.
258 http://www.freedesktop.org/software/systemd/man/systemd-resolved.html
260 config BR2_PACKAGE_SYSTEMD_RFKILL
261 bool "enable rfkill tools"
263 systemd-rfkill is a service that restores the RF kill switch
264 state at early boot and saves it at shutdown.
266 http://www.freedesktop.org/software/systemd/man/systemd-rfkill@.service.html
268 config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT
269 bool "enable SMACK support"
270 select BR2_PACKAGE_ATTR
271 select BR2_PACKAGE_SMACK
273 Enable support for SMACK, the Simple Mandatory Access
274 Control Kernel, a minimal approach to Access Control
275 implemented as a kernel LSM.
277 This feature requires a kernel >= 3.8.
279 When this feature is enabled, Systemd mounts smackfs and
280 manages security labels for sockets.
282 config BR2_PACKAGE_SYSTEMD_SYSUSERS
283 bool "enable sysusers support"
284 depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs gshadow.h
286 systemd-sysusers creates system users and groups, based on
287 the file format and location specified in sysusers.d(5).
289 http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
291 config BR2_PACKAGE_SYSTEMD_TIMEDATED
292 bool "enable timedate daemon"
295 systemd-timedated is a system service that may be used as a
296 mechanism to change the system clock and timezone, as well
297 as to enable/disable NTP time synchronization.
299 http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html
301 config BR2_PACKAGE_SYSTEMD_TIMESYNCD
302 bool "enable timesync daemon"
305 systemd-timesyncd is a service that may be used to
306 synchronize the local system clock with a Network Time
309 This simple NTP solution is an alternative to sntp/ntpd from
312 http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.html
314 config BR2_PACKAGE_SYSTEMD_TMPFILES
315 bool "enable tmpfiles support"
318 systemd-tmpfiles creates, deletes, and cleans up volatile
319 and temporary files and directories, based on the
320 configuration file format and location specified in
323 http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html
325 config BR2_PACKAGE_SYSTEMD_VCONSOLE
326 bool "enable vconsole tool"
328 systemd-vconsole-setup is an early boot service that
329 configures the virtual console font and console keymap.
331 http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html