xref: /OK3568_Linux_fs/buildroot/package/systemd/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
2*4882a593Smuzhiyun	bool
3*4882a593Smuzhiyun	# see src/basic/architecture.h
4*4882a593Smuzhiyun	default y if BR2_arc
5*4882a593Smuzhiyun	default y if BR2_aarch64 || BR2_aarch64_be
6*4882a593Smuzhiyun	default y if BR2_arm || BR2_armeb
7*4882a593Smuzhiyun	default y if BR2_i386 || BR2_x86_64
8*4882a593Smuzhiyun	default y if BR2_m68k
9*4882a593Smuzhiyun	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
10*4882a593Smuzhiyun	default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
11*4882a593Smuzhiyun	default y if BR2_nios2
12*4882a593Smuzhiyun	default y if BR2_riscv
13*4882a593Smuzhiyun	default y if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb
14*4882a593Smuzhiyun	default y if BR2_sparc || BR2_sparc64
15*4882a593Smuzhiyun	default y if BR2_s390x
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunmenuconfig BR2_PACKAGE_SYSTEMD
18*4882a593Smuzhiyun	bool "systemd"
19*4882a593Smuzhiyun	depends on BR2_INIT_SYSTEMD
20*4882a593Smuzhiyun	depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
21*4882a593Smuzhiyun	depends on BR2_USE_MMU
22*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # kmod
23*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_USES_GLIBC
24*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SSP
25*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
26*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
27*4882a593Smuzhiyun	depends on BR2_HOST_GCC_AT_LEAST_5 # host-systemd
28*4882a593Smuzhiyun	select BR2_PACKAGE_HAS_UDEV
29*4882a593Smuzhiyun	select BR2_PACKAGE_DBUS # runtime dependency only
30*4882a593Smuzhiyun	select BR2_PACKAGE_LIBCAP
31*4882a593Smuzhiyun	select BR2_PACKAGE_UTIL_LINUX
32*4882a593Smuzhiyun	select BR2_PACKAGE_UTIL_LINUX_LIBS
33*4882a593Smuzhiyun	select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
34*4882a593Smuzhiyun	select BR2_PACKAGE_UTIL_LINUX_AGETTY
35*4882a593Smuzhiyun	select BR2_PACKAGE_UTIL_LINUX_MOUNT
36*4882a593Smuzhiyun	select BR2_PACKAGE_UTIL_LINUX_FSCK
37*4882a593Smuzhiyun	select BR2_PACKAGE_KMOD
38*4882a593Smuzhiyun	select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod-tools
39*4882a593Smuzhiyun	select BR2_PACKAGE_KMOD_TOOLS
40*4882a593Smuzhiyun	select BR2_TARGET_TZ_INFO
41*4882a593Smuzhiyun	select BR2_NEEDS_HOST_UTF8_LOCALE
42*4882a593Smuzhiyun	select BR2_PACKAGE_HOST_SYSTEMD # for systemctl preset-all, during target-finalize
43*4882a593Smuzhiyun	help
44*4882a593Smuzhiyun	  systemd is a system and service manager for Linux,
45*4882a593Smuzhiyun	  compatible with SysV and LSB init scripts. systemd provides
46*4882a593Smuzhiyun	  aggressive parallelization capabilities, uses socket and
47*4882a593Smuzhiyun	  D-Bus activation for starting services, offers on-demand
48*4882a593Smuzhiyun	  starting of daemons, keeps track of processes using Linux
49*4882a593Smuzhiyun	  cgroups, supports snapshotting and restoring of the system
50*4882a593Smuzhiyun	  state, maintains mount and automount points and implements
51*4882a593Smuzhiyun	  an elaborate transactional dependency-based service control
52*4882a593Smuzhiyun	  logic.  It can work as a drop-in replacement for sysvinit.
53*4882a593Smuzhiyun
54*4882a593Smuzhiyun	  Systemd requires a Linux kernel >= 3.13 with the following
55*4882a593Smuzhiyun	  options enabled:
56*4882a593Smuzhiyun
57*4882a593Smuzhiyun	  - CONFIG_DEVTMPFS
58*4882a593Smuzhiyun	  - CONFIG_CGROUPS (it is OK to disable all controllers)
59*4882a593Smuzhiyun	  - CONFIG_INOTIFY_USER
60*4882a593Smuzhiyun	  - CONFIG_SIGNALFD
61*4882a593Smuzhiyun	  - CONFIG_TIMERFD
62*4882a593Smuzhiyun	  - CONFIG_EPOLL
63*4882a593Smuzhiyun	  - CONFIG_UNIX (it requires CONFIG_NET, but every other flag in
64*4882a593Smuzhiyun	    it is not necessary)
65*4882a593Smuzhiyun	  - CONFIG_SYSFS
66*4882a593Smuzhiyun	  - CONFIG_PROC_FS
67*4882a593Smuzhiyun	  - CONFIG_FHANDLE (libudev, mount and bind mount handling)
68*4882a593Smuzhiyun
69*4882a593Smuzhiyun	  - CONFIG_NET_NS (needed by PrivateNetwork=, used in some
70*4882a593Smuzhiyun	    systemd units)
71*4882a593Smuzhiyun
72*4882a593Smuzhiyun	  - CONFIG_AUTOFS_FS / CONFIG_AUTOFS4_FS
73*4882a593Smuzhiyun	  - CONFIG_TMPFS_POSIX_ACL
74*4882a593Smuzhiyun	  - CONFIG_TMPFS_XATTR
75*4882a593Smuzhiyun
76*4882a593Smuzhiyun	  These options will be automatically enabled by Buildroot if
77*4882a593Smuzhiyun	  it is responsible for building the kernel. Otherwise, if you
78*4882a593Smuzhiyun	  are building your kernel outside of Buildroot, make sure
79*4882a593Smuzhiyun	  these options are enabled.
80*4882a593Smuzhiyun
81*4882a593Smuzhiyun	  Systemd also provides udev, the userspace device daemon.
82*4882a593Smuzhiyun
83*4882a593Smuzhiyun	  The selection of other packages will enable some features:
84*4882a593Smuzhiyun
85*4882a593Smuzhiyun	  - acl package will add support for multi-seat.
86*4882a593Smuzhiyun	  - xz and/or l4 packages will add compression support in
87*4882a593Smuzhiyun	    journal and coredump.
88*4882a593Smuzhiyun	  - libcurl package will add support for systemd-journal-upload.
89*4882a593Smuzhiyun	  - libgcrypt package will add support for journal sealing and
90*4882a593Smuzhiyun	    DNSSEC verification in resolved.
91*4882a593Smuzhiyun
92*4882a593Smuzhiyun	  Notice that systemd selects the fsck wrapper from util-linux
93*4882a593Smuzhiyun	  but no particular fsck.<fstype> is selected. You must choose
94*4882a593Smuzhiyun	  the apropriate ones (e.g. e2fsck, from the e2fsprogs
95*4882a593Smuzhiyun	  package) according to the system configuration.
96*4882a593Smuzhiyun
97*4882a593Smuzhiyun	  http://freedesktop.org/wiki/Software/systemd
98*4882a593Smuzhiyun
99*4882a593Smuzhiyunif BR2_PACKAGE_SYSTEMD
100*4882a593Smuzhiyun
101*4882a593Smuzhiyunconfig BR2_PACKAGE_PROVIDES_UDEV
102*4882a593Smuzhiyun	default "systemd"
103*4882a593Smuzhiyun
104*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_BOOT
105*4882a593Smuzhiyun	bool "systemd-boot"
106*4882a593Smuzhiyun	depends on BR2_i386 || BR2_x86_64
107*4882a593Smuzhiyun	select BR2_PACKAGE_GNU_EFI
108*4882a593Smuzhiyun	help
109*4882a593Smuzhiyun	  systemd-boot is a simple UEFI boot manager which executes
110*4882a593Smuzhiyun	  configured EFI images. The default entry is selected by a
111*4882a593Smuzhiyun	  configured pattern (glob) or an on-screen menu.
112*4882a593Smuzhiyun
113*4882a593Smuzhiyun	  systemd-boot operates on the EFI System Partition (ESP)
114*4882a593Smuzhiyun	  only. Configuration file fragments, kernels, initrds, other
115*4882a593Smuzhiyun	  EFI images need to reside on the ESP. Linux kernels need to
116*4882a593Smuzhiyun	  be built with CONFIG_EFI_STUB to be able to be directly
117*4882a593Smuzhiyun	  executed as an EFI image.
118*4882a593Smuzhiyun
119*4882a593Smuzhiyun	  See the Grub2 help text for details on preparing an EFI
120*4882a593Smuzhiyun	  capable disk image using systemd-boot: the instructions are
121*4882a593Smuzhiyun	  exactly the same, except that the systemd-boot configuration
122*4882a593Smuzhiyun	  files will be located in /loader/ inside the EFI partition.
123*4882a593Smuzhiyun
124*4882a593Smuzhiyun	  https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/
125*4882a593Smuzhiyun
126*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_INITRD
127*4882a593Smuzhiyun	bool "Services for booting from initrd"
128*4882a593Smuzhiyun	help
129*4882a593Smuzhiyun	  Install various services that are only useful if systemd is
130*4882a593Smuzhiyun	  run from an initrd.
131*4882a593Smuzhiyun
132*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_KERNELINSTALL
133*4882a593Smuzhiyun	bool "install kernel-install and related files"
134*4882a593Smuzhiyun	help
135*4882a593Smuzhiyun	  kernel-install is used to install and remove kernel and
136*4882a593Smuzhiyun	  initramfs images to and from the boot loader partition.
137*4882a593Smuzhiyun	  The boot loader partition will usually be one of
138*4882a593Smuzhiyun	  /boot, /efi, or /boot/efi.
139*4882a593Smuzhiyun
140*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_ANALYZE
141*4882a593Smuzhiyun	bool "systemd-analyze"
142*4882a593Smuzhiyun	help
143*4882a593Smuzhiyun	  systemd-analyze may be used to determine system boot-up
144*4882a593Smuzhiyun	  performance statistics and retrieve other state and tracing
145*4882a593Smuzhiyun	  information from the system and service manager, and to
146*4882a593Smuzhiyun	  verify the correctness of unit files.
147*4882a593Smuzhiyun	  It is also used to access special functions useful for
148*4882a593Smuzhiyun	  advanced system manager debugging.
149*4882a593Smuzhiyun
150*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_BOOT_EFI_ARCH
151*4882a593Smuzhiyun	string
152*4882a593Smuzhiyun	default "ia32"  if BR2_i386
153*4882a593Smuzhiyun	default "x64"   if BR2_x86_64
154*4882a593Smuzhiyun	depends on BR2_PACKAGE_SYSTEMD_BOOT
155*4882a593Smuzhiyun
156*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE
157*4882a593Smuzhiyun	bool "enable journal remote tools"
158*4882a593Smuzhiyun	select BR2_PACKAGE_LIBCURL
159*4882a593Smuzhiyun	select BR2_PACKAGE_LIBMICROHTTPD
160*4882a593Smuzhiyun	help
161*4882a593Smuzhiyun	  journal remote functionality adds three tools:
162*4882a593Smuzhiyun
163*4882a593Smuzhiyun	  systemd-journal-gatewayd serves journal events over the
164*4882a593Smuzhiyun	  network.
165*4882a593Smuzhiyun
166*4882a593Smuzhiyun	  systemd-journal-remote is a command to receive serialized
167*4882a593Smuzhiyun	  journal events and store them to journal files.
168*4882a593Smuzhiyun
169*4882a593Smuzhiyun	  systemd-journal-upload will upload journal entries to the
170*4882a593Smuzhiyun	  URL specified with --url=.
171*4882a593Smuzhiyun
172*4882a593Smuzhiyun	  https://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html
173*4882a593Smuzhiyun	  https://www.freedesktop.org/software/systemd/man/systemd-journal-remote.service.html
174*4882a593Smuzhiyun	  https://www.freedesktop.org/software/systemd/man/systemd-journal-upload.html
175*4882a593Smuzhiyun
176*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_BACKLIGHT
177*4882a593Smuzhiyun	bool "enable backlight support"
178*4882a593Smuzhiyun	help
179*4882a593Smuzhiyun	  systemd-backlight is a service that restores the display
180*4882a593Smuzhiyun	  backlight brightness at early boot and saves it at shutdown.
181*4882a593Smuzhiyun
182*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-backlight@.service.html
183*4882a593Smuzhiyun
184*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_BINFMT
185*4882a593Smuzhiyun	bool "enable binfmt tool"
186*4882a593Smuzhiyun	help
187*4882a593Smuzhiyun	  systemd-binfmt is an early boot service that registers
188*4882a593Smuzhiyun	  additional binary formats for executables in the kernel.
189*4882a593Smuzhiyun
190*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html
191*4882a593Smuzhiyun
192*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_COREDUMP
193*4882a593Smuzhiyun	bool "enable coredump hook"
194*4882a593Smuzhiyun	help
195*4882a593Smuzhiyun	  systemd-coredump can be used as a helper binary by the
196*4882a593Smuzhiyun	  kernel when a user space program receives a fatal signal and
197*4882a593Smuzhiyun	  dumps core.
198*4882a593Smuzhiyun
199*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-coredump.html
200*4882a593Smuzhiyun
201*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_PSTORE
202*4882a593Smuzhiyun	bool "enable pstore support"
203*4882a593Smuzhiyun	default y
204*4882a593Smuzhiyun	help
205*4882a593Smuzhiyun	  When this features is enabled, additional tools and services
206*4882a593Smuzhiyun	  are built to support archiving contents of the persistent
207*4882a593Smuzhiyun	  storage filesytem.
208*4882a593Smuzhiyun
209*4882a593Smuzhiyun	  https://www.freedesktop.org/software/systemd/man/systemd-pstore.html
210*4882a593Smuzhiyun
211*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_FIRSTBOOT
212*4882a593Smuzhiyun	bool "enable firstboot support"
213*4882a593Smuzhiyun	help
214*4882a593Smuzhiyun	  systemd-firstboot initializes the most basic system settings
215*4882a593Smuzhiyun	  interactively on the first boot.
216*4882a593Smuzhiyun
217*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html
218*4882a593Smuzhiyun
219*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_HIBERNATE
220*4882a593Smuzhiyun	bool "enable hibernation support"
221*4882a593Smuzhiyun	select BR2_PACKAGE_SYSTEMD_INITRD
222*4882a593Smuzhiyun	help
223*4882a593Smuzhiyun	  When this features is enabled, additional tools and services
224*4882a593Smuzhiyun	  are built to support suspending and resuming the system.
225*4882a593Smuzhiyun
226*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-sleep.html
227*4882a593Smuzhiyun
228*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_HOMED
229*4882a593Smuzhiyun	bool "enable home daemon"
230*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # cryptsetup -> lvm2
231*4882a593Smuzhiyun	depends on BR2_USE_MMU # cryptsetup -> lvm2
232*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # cryptsetup -> lvm2
233*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c
234*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # fscrypt_key
235*4882a593Smuzhiyun	select BR2_PACKAGE_CRYPTSETUP
236*4882a593Smuzhiyun	select BR2_PACKAGE_OPENSSL
237*4882a593Smuzhiyun	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
238*4882a593Smuzhiyun	select BR2_PACKAGE_UTIL_LINUX_LIBFDISK
239*4882a593Smuzhiyun	help
240*4882a593Smuzhiyun	  systemd-homed is a system service that may be used to create,
241*4882a593Smuzhiyun	  remove, change or inspect home directories.
242*4882a593Smuzhiyun
243*4882a593Smuzhiyun	  https://www.freedesktop.org/software/systemd/man/systemd-homed.service.html
244*4882a593Smuzhiyun
245*4882a593Smuzhiyuncomment "homed support needs a toolchain w/ threads, dynamic library, kernel headers >= 4.12"
246*4882a593Smuzhiyun	depends on BR2_USE_MMU
247*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4
248*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
249*4882a593Smuzhiyun		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
250*4882a593Smuzhiyun
251*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_HOSTNAMED
252*4882a593Smuzhiyun	bool "enable hostname daemon"
253*4882a593Smuzhiyun	default y
254*4882a593Smuzhiyun	help
255*4882a593Smuzhiyun	  systemd-hostnamed is a system service that may be used as a
256*4882a593Smuzhiyun	  mechanism to change the system's hostname.
257*4882a593Smuzhiyun
258*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html
259*4882a593Smuzhiyun
260*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_HWDB
261*4882a593Smuzhiyun	bool "enable hwdb installation"
262*4882a593Smuzhiyun	default y
263*4882a593Smuzhiyun	help
264*4882a593Smuzhiyun	  Enables hardware database installation to /usr/lib/udev/hwdb.d
265*4882a593Smuzhiyun
266*4882a593Smuzhiyun	  Disabling this option improves first boot time (or every boot
267*4882a593Smuzhiyun	  time in case of initramfs images) and saves several MB space.
268*4882a593Smuzhiyun
269*4882a593Smuzhiyun	  https://www.freedesktop.org/software/systemd/man/hwdb.html
270*4882a593Smuzhiyun
271*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_IMPORTD
272*4882a593Smuzhiyun	bool "enable import daemon"
273*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
274*4882a593Smuzhiyun	select BR2_PACKAGE_LIBCURL
275*4882a593Smuzhiyun	select BR2_PACKAGE_LIBGCRYPT
276*4882a593Smuzhiyun	select BR2_PACKAGE_XZ
277*4882a593Smuzhiyun	select BR2_PACKAGE_ZLIB
278*4882a593Smuzhiyun	help
279*4882a593Smuzhiyun	  systemd-importd is a system service that manages virtual
280*4882a593Smuzhiyun	  machine and container images for systemd-machined and
281*4882a593Smuzhiyun	  machinectl.
282*4882a593Smuzhiyun
283*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/machinectl.html#Image%20Transfer%20Commands
284*4882a593Smuzhiyun
285*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_CATALOGDB
286*4882a593Smuzhiyun	bool "enable journal catalog database installation"
287*4882a593Smuzhiyun	depends on BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW # conflicting tmpfiles magic
288*4882a593Smuzhiyun	help
289*4882a593Smuzhiyun	  Build and install the journal catalog database.
290*4882a593Smuzhiyun
291*4882a593Smuzhiyun	  catalog files are used to provide extended and potentially
292*4882a593Smuzhiyun	  localized messages for the journal.
293*4882a593Smuzhiyun
294*4882a593Smuzhiyun	  The original catalog files will be built into a DB at
295*4882a593Smuzhiyun	  /usr/share/factory/var/lib/systemd/catalog/database.
296*4882a593Smuzhiyun
297*4882a593Smuzhiyun	  https://www.freedesktop.org/wiki/Software/systemd/catalog/
298*4882a593Smuzhiyun
299*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_LOCALED
300*4882a593Smuzhiyun	bool "enable locale daemon"
301*4882a593Smuzhiyun	help
302*4882a593Smuzhiyun	  systemd-localed is a system service that may be used as
303*4882a593Smuzhiyun	  mechanism to change the system locale settings, as well as
304*4882a593Smuzhiyun	  the console key mapping and default X11 key mapping.
305*4882a593Smuzhiyun
306*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html
307*4882a593Smuzhiyun
308*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_LOGIND
309*4882a593Smuzhiyun	bool "enable login daemon"
310*4882a593Smuzhiyun	help
311*4882a593Smuzhiyun	  systemd-logind is a system service that manages user logins.
312*4882a593Smuzhiyun
313*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html
314*4882a593Smuzhiyun
315*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_MACHINED
316*4882a593Smuzhiyun	bool "enable machine daemon"
317*4882a593Smuzhiyun	help
318*4882a593Smuzhiyun	  systemd-machined is a system service that keeps track of
319*4882a593Smuzhiyun	  virtual machines and containers, and processes belonging to
320*4882a593Smuzhiyun	  them.
321*4882a593Smuzhiyun
322*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html
323*4882a593Smuzhiyun
324*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_MYHOSTNAME
325*4882a593Smuzhiyun	bool "enable myhostname NSS plugin"
326*4882a593Smuzhiyun	default y
327*4882a593Smuzhiyun	help
328*4882a593Smuzhiyun	  nss-myhostname is a plug-in module for the GNU Name Service
329*4882a593Smuzhiyun	  Switch (NSS) functionality of the GNU C Library (glibc),
330*4882a593Smuzhiyun	  primarily providing hostname resolution for the locally
331*4882a593Smuzhiyun	  configured system hostname as returned by gethostname(2).
332*4882a593Smuzhiyun
333*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/nss-myhostname.html
334*4882a593Smuzhiyun
335*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_NETWORKD
336*4882a593Smuzhiyun	bool "enable network manager"
337*4882a593Smuzhiyun	default y
338*4882a593Smuzhiyun	help
339*4882a593Smuzhiyun	  systemd-networkd is a system service that manages networks.
340*4882a593Smuzhiyun	  It detects and configures network devices as they appear, as
341*4882a593Smuzhiyun	  well as creating virtual network devices.
342*4882a593Smuzhiyun
343*4882a593Smuzhiyun	  This simple network configuration solution is an alternative
344*4882a593Smuzhiyun	  to dhcpcd or ISC dhcp.
345*4882a593Smuzhiyun
346*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-networkd.html
347*4882a593Smuzhiyun
348*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_OOMD
349*4882a593Smuzhiyun	bool "enable out-of-memory killer"
350*4882a593Smuzhiyun	help
351*4882a593Smuzhiyun	  systemd-oomd is a system service that uses cgroups-v2 and
352*4882a593Smuzhiyun	  pressure stall information (PSI) to monitor and take action
353*4882a593Smuzhiyun	  on processes before an OOM occurs in kernel space.
354*4882a593Smuzhiyun
355*4882a593Smuzhiyun	  https://www.freedesktop.org/software/systemd/man/systemd-oomd.html
356*4882a593Smuzhiyun
357*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_POLKIT
358*4882a593Smuzhiyun	bool "enable polkit support"
359*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # polkit -> c++17
360*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # polkit
361*4882a593Smuzhiyun	depends on BR2_USE_WCHAR # libglib2
362*4882a593Smuzhiyun	depends on !BR2_OPTIMIZE_FAST # polkit -> duktape
363*4882a593Smuzhiyun	select BR2_PACKAGE_POLKIT
364*4882a593Smuzhiyun	help
365*4882a593Smuzhiyun	  If enabled, systemd is built with polkit support and policy
366*4882a593Smuzhiyun	  files for its services are generated and installed. It is
367*4882a593Smuzhiyun	  useful for allowing unprivileged processes to speak to
368*4882a593Smuzhiyun	  systemd's many privileged processes.
369*4882a593Smuzhiyun
370*4882a593Smuzhiyun	  http://wiki.freedesktop.org/www/Software/polkit/
371*4882a593Smuzhiyun
372*4882a593Smuzhiyuncomment "polkit support needs a toolchain with threads, wchar, gcc >= 7"
373*4882a593Smuzhiyun	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
374*4882a593Smuzhiyun		!BR2_TOOLCHAIN_HAS_THREADS
375*4882a593Smuzhiyun
376*4882a593Smuzhiyuncomment "polkit support can't be built with Optimize for fast"
377*4882a593Smuzhiyun	depends on BR2_OPTIMIZE_FAST
378*4882a593Smuzhiyun
379*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_PORTABLED
380*4882a593Smuzhiyun	bool "enable portable services"
381*4882a593Smuzhiyun	help
382*4882a593Smuzhiyun	  Portable services are systemd services that can be dynamically
383*4882a593Smuzhiyun	  attached and detached from the system.
384*4882a593Smuzhiyun
385*4882a593Smuzhiyun	  These services must come with their own root directory which
386*4882a593Smuzhiyun	  they are bound to through an automatically generated drop-in.
387*4882a593Smuzhiyun
388*4882a593Smuzhiyun	  They also have restrictions applied by the host system in the
389*4882a593Smuzhiyun	  form of profiles.
390*4882a593Smuzhiyun
391*4882a593Smuzhiyun	  This functionality is provided by the system service
392*4882a593Smuzhiyun	  systemd-portabled along with the corresponding CLI
393*4882a593Smuzhiyun	  portablectl.
394*4882a593Smuzhiyun
395*4882a593Smuzhiyun	  https://systemd.io/PORTABLE_SERVICES/
396*4882a593Smuzhiyun
397*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_QUOTACHECK
398*4882a593Smuzhiyun	bool "enable quotacheck tools"
399*4882a593Smuzhiyun	help
400*4882a593Smuzhiyun	  systemd-quotacheck is a service responsible for file system
401*4882a593Smuzhiyun	  quota checks. It is run once at boot after all necessary
402*4882a593Smuzhiyun	  file systems are mounted. It is pulled in only if at least
403*4882a593Smuzhiyun	  one file system has quotas enabled.
404*4882a593Smuzhiyun
405*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-quotacheck.service.html
406*4882a593Smuzhiyun
407*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_RANDOMSEED
408*4882a593Smuzhiyun	bool "enable random-seed support"
409*4882a593Smuzhiyun	help
410*4882a593Smuzhiyun	  systemd-random-seed is a service that restores the random
411*4882a593Smuzhiyun	  seed of the system at early boot and saves it at
412*4882a593Smuzhiyun	  shutdown. Saving/restoring the random seed across boots
413*4882a593Smuzhiyun	  increases the amount of available entropy early at boot.
414*4882a593Smuzhiyun
415*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html
416*4882a593Smuzhiyun
417*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_REPART
418*4882a593Smuzhiyun	bool "enable repart support"
419*4882a593Smuzhiyun	select BR2_PACKAGE_OPENSSL
420*4882a593Smuzhiyun	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
421*4882a593Smuzhiyun	select BR2_PACKAGE_UTIL_LINUX_LIBFDISK
422*4882a593Smuzhiyun	help
423*4882a593Smuzhiyun	  systemd-repart grows and adds partitions to a partition table,
424*4882a593Smuzhiyun	  based on the configuration files described in repart.d.
425*4882a593Smuzhiyun
426*4882a593Smuzhiyun	  https://www.freedesktop.org/software/systemd/man/systemd-repart.html
427*4882a593Smuzhiyun
428*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_RESOLVED
429*4882a593Smuzhiyun	bool "enable resolve daemon"
430*4882a593Smuzhiyun	default y
431*4882a593Smuzhiyun	help
432*4882a593Smuzhiyun	  systemd-resolved is a system service that provides network
433*4882a593Smuzhiyun	  name resolution to local applications. It implements a
434*4882a593Smuzhiyun	  caching and validating DNS/DNSSEC stub resolver, as well as
435*4882a593Smuzhiyun	  an LLMNR resolver and responder.
436*4882a593Smuzhiyun
437*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-resolved.html
438*4882a593Smuzhiyun
439*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_RFKILL
440*4882a593Smuzhiyun	bool "enable rfkill tools"
441*4882a593Smuzhiyun	help
442*4882a593Smuzhiyun	  systemd-rfkill is a service that restores the RF kill switch
443*4882a593Smuzhiyun	  state at early boot and saves it at shutdown.
444*4882a593Smuzhiyun
445*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-rfkill@.service.html
446*4882a593Smuzhiyun
447*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT
448*4882a593Smuzhiyun	bool "enable SMACK support"
449*4882a593Smuzhiyun	select BR2_PACKAGE_ATTR
450*4882a593Smuzhiyun	select BR2_PACKAGE_SMACK
451*4882a593Smuzhiyun	help
452*4882a593Smuzhiyun	  Enable support for SMACK, the Simple Mandatory Access
453*4882a593Smuzhiyun	  Control Kernel, a minimal approach to Access Control
454*4882a593Smuzhiyun	  implemented as a kernel LSM.
455*4882a593Smuzhiyun
456*4882a593Smuzhiyun	  This feature requires a kernel >= 3.8.
457*4882a593Smuzhiyun
458*4882a593Smuzhiyun	  When this feature is enabled, Systemd mounts smackfs and
459*4882a593Smuzhiyun	  manages security labels for sockets.
460*4882a593Smuzhiyun
461*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_SYSEXT
462*4882a593Smuzhiyun	bool "enable sysext support"
463*4882a593Smuzhiyun	help
464*4882a593Smuzhiyun	  systemd-sysext activates/deactivates system extension
465*4882a593Smuzhiyun	  images.
466*4882a593Smuzhiyun
467*4882a593Smuzhiyun	  System extension images may – dynamically at runtime —
468*4882a593Smuzhiyun	  extend the /usr/ and /opt/ directory hierarchies with
469*4882a593Smuzhiyun	  additional files.
470*4882a593Smuzhiyun
471*4882a593Smuzhiyun	  This is particularly useful on immutable system images where
472*4882a593Smuzhiyun	  a /usr/ and/or /opt/ hierarchy residing on a read-only file
473*4882a593Smuzhiyun	  system shall be extended temporarily at runtime without
474*4882a593Smuzhiyun	  making any persistent modifications.
475*4882a593Smuzhiyun
476*4882a593Smuzhiyun	  https://www.freedesktop.org/software/systemd/man/systemd-sysext.html
477*4882a593Smuzhiyun
478*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_SYSUSERS
479*4882a593Smuzhiyun	bool "enable sysusers support"
480*4882a593Smuzhiyun	help
481*4882a593Smuzhiyun	  systemd-sysusers creates system users and groups, based on
482*4882a593Smuzhiyun	  the file format and location specified in sysusers.d(5).
483*4882a593Smuzhiyun
484*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
485*4882a593Smuzhiyun
486*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_TIMEDATED
487*4882a593Smuzhiyun	bool "enable timedate daemon"
488*4882a593Smuzhiyun	default y
489*4882a593Smuzhiyun	help
490*4882a593Smuzhiyun	  systemd-timedated is a system service that may be used as a
491*4882a593Smuzhiyun	  mechanism to change the system clock and timezone, as well
492*4882a593Smuzhiyun	  as to enable/disable NTP time synchronization.
493*4882a593Smuzhiyun
494*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html
495*4882a593Smuzhiyun
496*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_TIMESYNCD
497*4882a593Smuzhiyun	bool "enable timesync daemon"
498*4882a593Smuzhiyun	default y
499*4882a593Smuzhiyun	help
500*4882a593Smuzhiyun	  systemd-timesyncd is a service that may be used to
501*4882a593Smuzhiyun	  synchronize the local system clock with a Network Time
502*4882a593Smuzhiyun	  Protocol server.
503*4882a593Smuzhiyun
504*4882a593Smuzhiyun	  This simple NTP solution is an alternative to sntp/ntpd from
505*4882a593Smuzhiyun	  the ntp package.
506*4882a593Smuzhiyun
507*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.html
508*4882a593Smuzhiyun
509*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_USERDB
510*4882a593Smuzhiyun	bool "enable userdb daemon"
511*4882a593Smuzhiyun	help
512*4882a593Smuzhiyun	  systemd-userdbd is a system service that multiplexes
513*4882a593Smuzhiyun	  user/group lookups to all local services that provide JSON
514*4882a593Smuzhiyun	  user/group record definitions to the system. In addition it
515*4882a593Smuzhiyun	  synthesizes JSON user/group records from classic UNIX/glibc
516*4882a593Smuzhiyun	  NSS user/group records in order to provide full backwards
517*4882a593Smuzhiyun	  compatibility.
518*4882a593Smuzhiyun
519*4882a593Smuzhiyun	  https://www.freedesktop.org/software/systemd/man/systemd-userdbd.service.html
520*4882a593Smuzhiyun
521*4882a593Smuzhiyunconfig BR2_PACKAGE_SYSTEMD_VCONSOLE
522*4882a593Smuzhiyun	bool "enable vconsole tool"
523*4882a593Smuzhiyun	default y
524*4882a593Smuzhiyun	help
525*4882a593Smuzhiyun	  systemd-vconsole-setup is an early boot service that
526*4882a593Smuzhiyun	  configures the virtual console font and console keymap.
527*4882a593Smuzhiyun
528*4882a593Smuzhiyun	  http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html
529*4882a593Smuzhiyun
530*4882a593Smuzhiyunendif
531