2014-03-28 17:31:06 +01:00
|
|
|
config BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
# see src/shared/architecture.h
|
|
|
|
default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \
|
2014-05-13 07:28:21 +02:00
|
|
|
BR2_mipsel || BR2_powerpc || BR2_powerpc64 || \
|
|
|
|
BR2_powerpc64le || BR2_sh4 || BR2_sh4eb || \
|
2014-03-28 17:31:06 +01:00
|
|
|
BR2_sh4a || BR2_sh4aeb || BR2_sparc || BR2_x86_64 || \
|
|
|
|
BR2_aarch64 || BR2_m68k
|
|
|
|
|
2016-07-01 23:51:16 +02:00
|
|
|
menuconfig BR2_PACKAGE_SYSTEMD
|
2012-03-23 16:49:52 +01:00
|
|
|
bool "systemd"
|
2014-02-07 14:21:34 +01:00
|
|
|
depends on BR2_INIT_SYSTEMD
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS # kmod
|
2012-07-25 11:29:58 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
|
2012-11-17 13:24:08 +01:00
|
|
|
depends on BR2_USE_MMU # dbus
|
2014-02-07 14:21:34 +01:00
|
|
|
select BR2_PACKAGE_HAS_UDEV
|
2014-03-17 15:25:42 +01:00
|
|
|
select BR2_PACKAGE_DBUS # runtime dependency only
|
2012-03-23 16:49:52 +01:00
|
|
|
select BR2_PACKAGE_LIBCAP
|
2014-02-07 14:21:34 +01:00
|
|
|
select BR2_PACKAGE_UTIL_LINUX
|
|
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
2014-12-11 13:17:32 +01:00
|
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
|
2015-01-19 17:14:04 +01:00
|
|
|
select BR2_PACKAGE_UTIL_LINUX_BINARIES
|
|
|
|
select BR2_PACKAGE_UTIL_LINUX_MOUNT
|
|
|
|
select BR2_PACKAGE_UTIL_LINUX_NOLOGIN
|
2017-04-12 13:42:49 +02:00
|
|
|
select BR2_PACKAGE_UTIL_LINUX_FSCK
|
2014-02-07 14:21:34 +01:00
|
|
|
select BR2_PACKAGE_KMOD
|
|
|
|
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod-tools
|
|
|
|
select BR2_PACKAGE_KMOD_TOOLS
|
2017-07-04 13:21:20 +02:00
|
|
|
select BR2_TARGET_TZ_INFO
|
2018-03-04 11:29:05 +01:00
|
|
|
select BR2_NEEDS_HOST_UTF8_LOCALE
|
2012-03-23 16:49:52 +01:00
|
|
|
help
|
2017-12-18 09:21:05 +01:00
|
|
|
systemd is a system and service manager for Linux,
|
|
|
|
compatible with SysV and LSB init scripts. systemd provides
|
|
|
|
aggressive parallelization capabilities, uses socket and
|
|
|
|
D-Bus activation for starting services, offers on-demand
|
|
|
|
starting of daemons, keeps track of processes using Linux
|
|
|
|
cgroups, supports snapshotting and restoring of the system
|
|
|
|
state, maintains mount and automount points and implements
|
|
|
|
an elaborate transactional dependency-based service control
|
|
|
|
logic. It can work as a drop-in replacement for sysvinit.
|
|
|
|
|
|
|
|
Systemd requires a Linux kernel >= 3.0 with the following
|
|
|
|
options enabled:
|
2014-02-24 10:25:42 +01:00
|
|
|
|
|
|
|
- CONFIG_CGROUPS
|
|
|
|
- CONFIG_INOTIFY_USER
|
|
|
|
- CONFIG_FHANDLE
|
|
|
|
- CONFIG_AUTOFS4_FS
|
|
|
|
- CONFIG_TMPFS_POSIX_ACL
|
|
|
|
- CONFIG_TMPFS_XATTR
|
|
|
|
|
|
|
|
These options will be automatically enabled by Buildroot if
|
|
|
|
it is responsible for building the kernel. Otherwise, if you
|
|
|
|
are building your kernel outside of Buildroot, make sure
|
|
|
|
these options are enabled.
|
2014-02-07 14:21:34 +01:00
|
|
|
|
|
|
|
Systemd also provides udev, the userspace device daemon.
|
|
|
|
|
|
|
|
The selection of other packages will enable some features:
|
|
|
|
|
|
|
|
- acl package will add support for multi-seat.
|
2016-02-25 22:55:13 +01:00
|
|
|
- xz and/or l4 packages will add compression support in
|
|
|
|
journal and coredump.
|
2016-02-25 22:55:15 +01:00
|
|
|
- libcurl package will add support for systemd-journal-upload.
|
2016-02-25 22:55:11 +01:00
|
|
|
- libgcrypt package will add support for journal sealing and
|
|
|
|
DNSSEC verification in resolved.
|
2014-02-07 14:21:34 +01:00
|
|
|
|
2017-04-12 13:42:49 +02:00
|
|
|
Notice that systemd selects the fsck wrapper from util-linux
|
|
|
|
but no particular fsck.<fstype> is selected. You must choose
|
2017-12-18 09:21:05 +01:00
|
|
|
the apropriate ones (e.g. e2fsck, from the e2fsprogs
|
|
|
|
package) according to the system configuration.
|
2017-04-12 13:42:49 +02:00
|
|
|
|
2012-03-23 16:49:52 +01:00
|
|
|
http://freedesktop.org/wiki/Software/systemd
|
|
|
|
|
2014-02-07 14:21:34 +01:00
|
|
|
if BR2_PACKAGE_SYSTEMD
|
|
|
|
|
2014-02-24 10:25:41 +01:00
|
|
|
config BR2_PACKAGE_PROVIDES_UDEV
|
|
|
|
default "systemd"
|
|
|
|
|
2014-02-07 14:21:34 +01:00
|
|
|
config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
|
|
|
|
bool "HTTP server for journal events"
|
|
|
|
select BR2_PACKAGE_LIBMICROHTTPD
|
|
|
|
help
|
|
|
|
systemd-journal-gatewayd serves journal events over the
|
|
|
|
network. Clients must connect using HTTP. The server
|
|
|
|
listens on port 19531 by default.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html
|
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_BACKLIGHT
|
|
|
|
bool "enable backlight support"
|
2016-04-15 12:46:30 +02:00
|
|
|
help
|
2016-07-02 15:59:15 +02:00
|
|
|
systemd-backlight is a service that restores the display
|
|
|
|
backlight brightness at early boot and saves it at shutdown.
|
2016-04-15 12:46:30 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-backlight@.service.html
|
2016-04-15 12:46:30 +02:00
|
|
|
|
2016-02-25 22:55:19 +01:00
|
|
|
config BR2_PACKAGE_SYSTEMD_BINFMT
|
|
|
|
bool "enable binfmt tool"
|
|
|
|
help
|
|
|
|
systemd-binfmt is an early boot service that registers
|
|
|
|
additional binary formats for executables in the kernel.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html
|
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_COREDUMP
|
|
|
|
bool "enable coredump hook"
|
2016-07-01 23:51:02 +02:00
|
|
|
help
|
2016-07-02 15:59:15 +02:00
|
|
|
systemd-coredump can be used as a helper binary by the
|
|
|
|
kernel when a user space program receives a fatal signal and
|
|
|
|
dumps core.
|
2016-07-01 23:51:02 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-coredump.html
|
2016-07-01 23:51:02 +02:00
|
|
|
|
2016-07-01 23:51:03 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_FIRSTBOOT
|
|
|
|
bool "enable firstboot support"
|
|
|
|
help
|
|
|
|
systemd-firstboot initializes the most basic system settings
|
|
|
|
interactively on the first boot.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html
|
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_HIBERNATE
|
|
|
|
bool "enable hibernation support"
|
2016-07-01 23:51:05 +02:00
|
|
|
help
|
2016-07-02 15:59:15 +02:00
|
|
|
When this features is enabled, additional tools and services
|
|
|
|
are built to support suspending and resuming the system.
|
2016-07-01 23:51:05 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-sleep.html
|
2016-07-01 23:51:05 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_HOSTNAMED
|
|
|
|
bool "enable hostname daemon"
|
|
|
|
default y
|
2016-07-01 23:51:06 +02:00
|
|
|
help
|
2016-07-02 15:59:15 +02:00
|
|
|
systemd-hostnamed is a system service that may be used as a
|
|
|
|
mechanism to change the system's hostname.
|
2016-07-01 23:51:06 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html
|
2016-07-01 23:51:06 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_HWDB
|
|
|
|
bool "enable hwdb installation"
|
|
|
|
default y
|
2016-07-01 23:51:07 +02:00
|
|
|
help
|
2016-07-02 15:59:15 +02:00
|
|
|
Enables hardware database installation to /usr/lib/udev/hwdb.d
|
2016-07-01 23:51:07 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
Disabling this option improves first boot time (or every boot
|
|
|
|
time in case of initramfs images) and saves several MB space.
|
2016-07-01 23:51:08 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
https://www.freedesktop.org/software/systemd/man/hwdb.html
|
2016-07-01 23:51:08 +02:00
|
|
|
|
2016-07-01 23:51:09 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_IMPORTD
|
|
|
|
bool "enable import daemon"
|
2016-07-04 01:48:34 +02:00
|
|
|
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
|
2016-07-01 23:51:09 +02:00
|
|
|
select BR2_PACKAGE_LIBCURL
|
|
|
|
select BR2_PACKAGE_LIBGCRYPT
|
|
|
|
select BR2_PACKAGE_BZIP2
|
|
|
|
select BR2_PACKAGE_LZ4
|
|
|
|
select BR2_PACKAGE_XZ
|
|
|
|
select BR2_PACKAGE_ZLIB
|
|
|
|
help
|
|
|
|
systemd-importd is a system service that manages virtual
|
|
|
|
machine and container images for systemd-machined and
|
|
|
|
machinectl.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/machinectl.html#Image%20Transfer%20Commands
|
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_LOCALED
|
|
|
|
bool "enable locale daemon"
|
|
|
|
help
|
|
|
|
systemd-localed is a system service that may be used as
|
|
|
|
mechanism to change the system locale settings, as well as
|
|
|
|
the console key mapping and default X11 key mapping.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SYSTEMD_LOGIND
|
|
|
|
bool "enable login daemon"
|
|
|
|
help
|
|
|
|
systemd-logind is a system service that manages user logins.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SYSTEMD_MACHINED
|
|
|
|
bool "enable machine daemon"
|
|
|
|
help
|
|
|
|
systemd-machined is a system service that keeps track of
|
|
|
|
virtual machines and containers, and processes belonging to
|
|
|
|
them.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html
|
2016-07-01 23:51:10 +02:00
|
|
|
|
2016-07-02 15:59:07 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
|
|
|
|
bool "enable myhostname NSS plugin"
|
|
|
|
default y
|
2018-04-01 07:08:37 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs nss.h
|
2016-07-02 15:59:07 +02:00
|
|
|
help
|
|
|
|
nss-myhostname is a plug-in module for the GNU Name Service
|
|
|
|
Switch (NSS) functionality of the GNU C Library (glibc),
|
|
|
|
primarily providing hostname resolution for the locally
|
|
|
|
configured system hostname as returned by gethostname(2).
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/nss-myhostname.html
|
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_NETWORKD
|
|
|
|
bool "enable network manager"
|
2016-07-01 23:51:11 +02:00
|
|
|
default y
|
|
|
|
help
|
2016-07-02 15:59:15 +02:00
|
|
|
systemd-networkd is a system service that manages networks.
|
2017-12-18 09:21:05 +01:00
|
|
|
It detects and configures network devices as they appear, as
|
|
|
|
well as creating virtual network devices.
|
2016-07-01 23:51:12 +02:00
|
|
|
|
2017-12-18 09:21:05 +01:00
|
|
|
This simple network configuration solution is an alternative
|
|
|
|
to dhcpcd or ISC dhcp.
|
2016-07-01 23:51:13 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-networkd.html
|
2016-07-01 23:51:13 +02:00
|
|
|
|
2016-07-01 23:51:14 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_POLKIT
|
|
|
|
bool "enable polkit support"
|
|
|
|
select BR2_PACKAGE_POLKIT
|
|
|
|
help
|
|
|
|
If enabled, systemd is built with polkit support and policy
|
|
|
|
files for its services are generated and installed. It is
|
|
|
|
useful for allowing unprivileged processes to speak to
|
|
|
|
systemd's many privileged processes.
|
|
|
|
|
|
|
|
http://wiki.freedesktop.org/www/Software/polkit/
|
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_QUOTACHECK
|
|
|
|
bool "enable quotacheck tools"
|
2014-03-17 15:25:42 +01:00
|
|
|
help
|
2016-07-02 15:59:15 +02:00
|
|
|
systemd-quotacheck is a service responsible for file system
|
|
|
|
quota checks. It is run once at boot after all necessary
|
|
|
|
file systems are mounted. It is pulled in only if at least
|
|
|
|
one file system has quotas enabled.
|
2014-03-17 15:25:42 +01:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-quotacheck.service.html
|
2014-03-17 15:25:42 +01:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_RANDOMSEED
|
|
|
|
bool "enable random-seed support"
|
|
|
|
help
|
|
|
|
systemd-random-seed is a service that restores the random
|
|
|
|
seed of the system at early boot and saves it at
|
|
|
|
shutdown. Saving/restoring the random seed across boots
|
|
|
|
increases the amount of available entropy early at boot.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html
|
2014-03-17 15:25:42 +01:00
|
|
|
|
2016-07-02 15:59:08 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_RESOLVED
|
|
|
|
bool "enable resolve daemon"
|
|
|
|
default y
|
2018-04-01 07:08:37 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs nss.h
|
2016-07-02 15:59:08 +02:00
|
|
|
help
|
|
|
|
systemd-resolved is a system service that provides network
|
|
|
|
name resolution to local applications. It implements a
|
|
|
|
caching and validating DNS/DNSSEC stub resolver, as well as
|
|
|
|
an LLMNR resolver and responder.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-resolved.html
|
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_RFKILL
|
|
|
|
bool "enable rfkill tools"
|
2014-06-04 23:40:49 +02:00
|
|
|
help
|
2016-07-02 15:59:15 +02:00
|
|
|
systemd-rfkill is a service that restores the RF kill switch
|
|
|
|
state at early boot and saves it at shutdown.
|
2014-06-04 23:40:49 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-rfkill@.service.html
|
2014-06-04 23:40:49 +02:00
|
|
|
|
2014-04-20 20:54:04 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT
|
|
|
|
bool "enable SMACK support"
|
|
|
|
select BR2_PACKAGE_ATTR
|
|
|
|
select BR2_PACKAGE_SMACK
|
|
|
|
help
|
2017-12-18 09:21:05 +01:00
|
|
|
Enable support for SMACK, the Simple Mandatory Access
|
|
|
|
Control Kernel, a minimal approach to Access Control
|
|
|
|
implemented as a kernel LSM.
|
2014-04-20 20:54:04 +02:00
|
|
|
|
|
|
|
This feature requires a kernel >= 3.8.
|
|
|
|
|
2017-12-18 09:21:05 +01:00
|
|
|
When this feature is enabled, Systemd mounts smackfs and
|
|
|
|
manages security labels for sockets.
|
2014-04-20 20:54:04 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_SYSUSERS
|
|
|
|
bool "enable sysusers support"
|
2018-02-12 22:06:33 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs gshadow.h
|
2016-07-01 23:51:15 +02:00
|
|
|
help
|
2016-07-02 15:59:15 +02:00
|
|
|
systemd-sysusers creates system users and groups, based on
|
|
|
|
the file format and location specified in sysusers.d(5).
|
2016-07-01 23:51:15 +02:00
|
|
|
|
2016-07-02 15:59:15 +02:00
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SYSTEMD_TIMEDATED
|
|
|
|
bool "enable timedate daemon"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
systemd-timedated is a system service that may be used as a
|
|
|
|
mechanism to change the system clock and timezone, as well
|
|
|
|
as to enable/disable NTP time synchronization.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SYSTEMD_TIMESYNCD
|
|
|
|
bool "enable timesync daemon"
|
|
|
|
default y
|
|
|
|
help
|
2017-12-18 09:21:05 +01:00
|
|
|
systemd-timesyncd is a service that may be used to
|
|
|
|
synchronize the local system clock with a Network Time
|
|
|
|
Protocol server.
|
2016-07-02 15:59:15 +02:00
|
|
|
|
2017-12-18 09:21:05 +01:00
|
|
|
This simple NTP solution is an alternative to sntp/ntpd from
|
|
|
|
the ntp package.
|
2016-07-02 15:59:15 +02:00
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.html
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SYSTEMD_TMPFILES
|
|
|
|
bool "enable tmpfiles support"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
systemd-tmpfiles creates, deletes, and cleans up volatile
|
|
|
|
and temporary files and directories, based on the
|
|
|
|
configuration file format and location specified in
|
|
|
|
tmpfiles.d(5).
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SYSTEMD_VCONSOLE
|
|
|
|
bool "enable vconsole tool"
|
|
|
|
help
|
|
|
|
systemd-vconsole-setup is an early boot service that
|
|
|
|
configures the virtual console font and console keymap.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html
|
2016-07-01 23:51:15 +02:00
|
|
|
|
2014-02-07 14:21:34 +01:00
|
|
|
endif
|