summaryrefslogtreecommitdiffstats
path: root/rules/systemd.in
blob: 5ce43b99c5998a73c8c3922ba92e0f54cf584f38 (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
## SECTION=shell_and_console

menuconfig SYSTEMD
	tristate
	depends on INITMETHOD_SYSTEMD
	select HOST_MESON
	select HOST_GETTEXT
	select HOST_GPERF
	select ROOTFS_RUN
	select LIBC_PTHREAD
	select LIBC_RT
	select LIBC_DL		if SYSTEMD_NETWORK
	select LIBC_M		if SYSTEMD_NETWORK || SYSTEMD_TIMEDATE
	select ACL		if SYSTEMD_UNITS_USER
	select LIBCAP
	select LIBKMOD
	select LIBKMOD_TOOLS
	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 LIBMICROHTTPD	if SYSTEMD_MICROHTTPD
	select LIBSECCOMP	if SYSTEMD_SECCOMP
	select LIBSELINUX	if GLOBAL_SELINUX
	select IPTABLES		if SYSTEMD_IPMASQUERADE
	select LIBELF		if SYSTEMD_COREDUMP
	select LIBELF_LIBDW	if SYSTEMD_COREDUMP
	# for udev:
	select ROOTFS_DEV
	select LIBBLKID
	select HOST_SYSTEMD	if SYSTEMD_UDEV_HWDB
	select ROOTFS_VAR_LIB	if RUNTIME
	select ROOTFS_VAR_CACHE	if RUNTIME
	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

	  Note: on a read-only root filesystem this package still requires a
	  writable '/var/lib' and '/var/cache' for its run-time information.

if SYSTEMD

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

config SYSTEMD_DBUS
	bool

config SYSTEMD_MICROHTTPD
	bool

config SYSTEMD_LOCALES
	bool
	default LOCALES

config SYSTEMD_VCONSOLE
	bool
	prompt "virtual console 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_UNITS_USER
	bool
	select SYSTEMD_LOGIND
	prompt "install default user target units"

config SYSTEMD_NETWORK
	bool
	prompt "network configuration with systemd"

config SYSTEMD_IPMASQUERADE
	bool
	depends on SYSTEMD_NETWORK
	prompt "IP forwarding and masquerading support"
	help
	  IPv4/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

config SYSTEMD_POLKIT
	bool
	default POLKIT

menu "journald                    "

config SYSTEMD_XZ
	bool
	prompt "XZ compressed journal support"

config SYSTEMD_LZ4
	bool
	prompt "LZ4 compressed journal support"

config SYSTEMD_JOURNAL_REMOTE
	bool
	select SYSTEMD_MICROHTTPD
	prompt "install systemd-journal-remote"
	help
	  systemd-journal-remote is a command to receive serialized
	  journal events and store them to the journal

endmenu


menu "udev                        "

menu "install options               "

config SYSTEMD_UDEV_DRIVERS_RULES
	bool
	default y
	prompt "install udev driver rules"
	help
	  This will install the generic udev drivers rules files from the udev package
	  under '/usr/lib/udev/rules.d/',
	  These rules are required to automatically load kernel modules on
	  udev start.
	  If unsure say Y.

config SYSTEMD_UDEV_HWDB
	bool
	prompt "install hardware database"

config SYSTEMD_UDEV_CUST_RULES
	bool
	prompt "install customized udev rules"
	help
	  This will install the customized udev rules files from
	  'projectroot/usr/lib/udev/rules.d' into '/usr/lib/udev/rules.d'

endmenu

menu "persistent device node links  "

config SYSTEMD_UDEV_PERSISTENT_ATA
	bool
	prompt "ata"

config SYSTEMD_UDEV_PERSISTENT_CDROM
	bool
	prompt "cdrom"

config SYSTEMD_UDEV_PERSISTENT_SCSI
	bool
	prompt "scsi"

config SYSTEMD_UDEV_PERSISTENT_V4L
	bool
	prompt "v4l"

endmenu

menu "misc helper                   "

config SYSTEMD_UDEV_MTD_PROBE
	bool
	prompt "mtd_probe"
	help
	  autoloads FTL module for mtd devices

endmenu

endmenu

endif