summaryrefslogtreecommitdiffstats
path: root/rules/systemd.in
blob: 13192e0d616482305e5c8f7ef787498b31b7ab28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
## SECTION=shell_and_console

menuconfig SYSTEMD
	tristate
	select HOST_GPERF
	# for 'ln --relative'
	select HOST_COREUTILS
	select ROOTFS_RUN
	select LIBC_PTHREAD
	select LIBC_RT
	select LIBC_DL
	select LIBCAP
	select LIBKMOD
	select LIBKMOD_TOOLS
	select UDEV		if RUNTIME
	select UDEV_LIBUDEV
	select UTIL_LINUX_NG
	select UTIL_LINUX_NG_LIBMOUNT
	select MACHINE_ID	if RUNTIME
	select XZ		if SYSTEMD_XZ
	select LZ4		if SYSTEMD_LZ4
	select LIBSECCOMP	if SYSTEMD_SECCOMP
	select LIBSELINUX	if GLOBAL_SELINUX
	select IPTABLES		if SYSTEMD_IPMASQUERADE
	# for udev:
	select ROOTFS_DEV
	select LIBBLKID
	select GLIB		if UDEV_LIBGUDEV
	select HOST_SYSTEMD	if UDEV_HWDB
	prompt "systemd                       "
	help
	  systemd is a system and session 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.

	  http://www.freedesktop.org/wiki/Software/systemd

if SYSTEMD

comment "D-Bus is needed for the enabled fatures"
	depends on SYSTEMD_DBUS && !DBUS

config SYSTEMD_DBUS
	bool

config SYSTEMD_LOCALES
	bool
	default LOCALES

config SYSTEMD_VCONSOLE
	bool
	prompt "virtual console support"

config SYSTEMD_XZ
	bool
	prompt "XZ compressed journal support"

config SYSTEMD_LZ4
	bool
	prompt "LZ4 compressed journal support"

config SYSTEMD_DISABLE_RANDOM_SEED
	bool
	prompt "disable random seed services"
	help
	  Disable service files to load/save the random seed during
	  startup/shutdown.
	  This option is for systems with read-only rootfs, where writing
	  the random seed is not possible.
	  Warning: enabling this option may be insecure.

config SYSTEMD_LOGIND
	bool
	select SYSTEMD_DBUS
	prompt "login daemon"

config SYSTEMD_NETWORK
	bool
	prompt "network configuration with systemd"

config SYSTEMD_IPMASQUERADE
	bool
	depends on SYSTEMD_NETWORK
	prompt "IP forwarding and masquerading support"
	help
	  Pv4/IPv6 support also needs to be enabled in iptables package

config SYSTEMD_TIMEDATE
	bool
	default y
	select SYSTEMD_DBUS
	prompt "date/time handling"
	help
	  NTP client for time synchronization and local timezone handling.

config SYSTEMD_COREDUMP
	bool
	prompt "enable generating coredumps"
	help
	  Enable this only if you need to debug a crashing systemd service

config SYSTEMD_SECCOMP
	bool
	prompt "enable seccomp filtering support"
	help
	  Enable this if you want to use SystemCallFilter in service files


endif