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
|
|
|
|
|
2012-03-23 16:49:52 +01:00
|
|
|
config BR2_PACKAGE_SYSTEMD
|
|
|
|
bool "systemd"
|
2014-02-07 14:21:34 +01:00
|
|
|
depends on BR2_INIT_SYSTEMD
|
|
|
|
depends on BR2_USE_WCHAR # util-linux
|
2012-03-23 16:49:52 +01:00
|
|
|
depends on BR2_INET_IPV6
|
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
|
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
|
2012-03-23 16:49:52 +01:00
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2014-02-24 10:25:42 +01:00
|
|
|
Systemd requires a Linux kernel >= 3.0 with the following options
|
|
|
|
enabled:
|
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
|
|
|
- libglib2 package will add support for gudev.
|
|
|
|
- acl package will add support for multi-seat.
|
|
|
|
|
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_ALL_EXTRAS
|
|
|
|
bool "enable all extras"
|
|
|
|
select BR2_PACKAGE_XZ
|
|
|
|
select BR2_PACKAGE_LIBGCRYPT
|
|
|
|
help
|
|
|
|
Enable extra features for Systemd: journal compression and
|
|
|
|
signing.
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-03-17 15:25:42 +01:00
|
|
|
config BR2_PACKAGE_SYSTEMD_NETWORKD
|
|
|
|
bool "enable network manager"
|
|
|
|
help
|
|
|
|
systemd-networkd is a system service that manages networks.
|
|
|
|
It detects and configures network devices as they appear, as well as
|
|
|
|
creating virtual network devices.
|
|
|
|
|
|
|
|
This simple network configuration solution is an alternative to
|
|
|
|
dhcpcd or ISC dhcp.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-networkd.html
|
|
|
|
|
2014-06-04 23:40:49 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_TIMESYNCD
|
|
|
|
bool "enable SNTP client"
|
|
|
|
depends on BR2_PACKAGE_SYSTEMD_NETWORKD
|
|
|
|
help
|
|
|
|
systemd-timesyncd is a service that may be used to synchronize the
|
|
|
|
local system clock with a Network Time Protocol Server.
|
|
|
|
|
|
|
|
This simple NTP solution is an alternative to sntp/ntpd from the ntp
|
|
|
|
package.
|
|
|
|
|
|
|
|
http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.html
|
|
|
|
|
2014-04-14 11:25:36 +02:00
|
|
|
config BR2_PACKAGE_SYSTEMD_COMPAT
|
|
|
|
bool "enable compatibility libraries"
|
|
|
|
help
|
|
|
|
Since systemd 209, the following libraries have been merged into
|
|
|
|
libsystemd.so:
|
|
|
|
|
|
|
|
- libsystemd-daemon
|
|
|
|
- libsystemd-id128
|
|
|
|
- libsystemd-journal
|
|
|
|
- libsystemd-login
|
|
|
|
|
|
|
|
This option enables the installation of compatibility *.pc files.
|
|
|
|
|
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
|
|
|
|
Enable support for SMACK, the Simple Mandatory Access Control
|
|
|
|
Kernel, a minimal approach to Access Control implemented as a kernel
|
|
|
|
LSM.
|
|
|
|
|
|
|
|
This feature requires a kernel >= 3.8.
|
|
|
|
|
|
|
|
When this feature is enabled, Systemd mounts smackfs and manages
|
|
|
|
security labels for sockets.
|
|
|
|
|
2014-02-07 14:21:34 +01:00
|
|
|
endif
|