summaryrefslogtreecommitdiffstats
path: root/rules/systemd.in
blob: b3d6072349b68b463dc5c376a6f89bb164976c76 (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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
## SECTION=shell_and_console

menuconfig SYSTEMD_HELPER
	tristate
	prompt "systemd                       "

if SYSTEMD_HELPER

config SYSTEMD
	tristate
	depends on INITMETHOD_SYSTEMD
	default SYSTEMD_HELPER
	select HOST_SYSTEM_PYTHON3
	select HOST_SYSTEM_PYTHON3_JINJA2
	select HOST_MESON
	select HOST_GPERF
	select ROOTFS_RUN
	select LIBC_CRYPT
	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
	select UTIL_LINUX_LIBMOUNT
	select UTIL_LINUX_LIBFDISK	if SYSTEMD_REPART
	select MACHINE_ID	if RUNTIME
	select XZ		if SYSTEMD_XZ
	select LZ4		if SYSTEMD_LZ4
	select ZSTD		if SYSTEMD_ZSTD
	select PCRE2		if SYSTEMD_PCRE2
	select LIBMICROHTTPD	if SYSTEMD_MICROHTTPD
	select LIBSECCOMP	if SYSTEMD_SECCOMP
	select IPTABLES		if SYSTEMD_IPMASQUERADE
	select LIBELF		if SYSTEMD_COREDUMP
	select LIBELF_LIBDW	if SYSTEMD_COREDUMP
	select OPENSSL		if SYSTEMD_OPENSSL
	# for udev:
	select ROOTFS_DEV
	select LIBBLKID
	select ROOTFS_VAR_LIB	if RUNTIME
	select ROOTFS_VAR_CACHE	if RUNTIME
	select ROOTFS_VAR_SPOOL if RUNTIME
	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.

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

config SYSTEMD_DBUS
	bool

config SYSTEMD_DBUS_SERVICES
	bool

config SYSTEMD_MICROHTTPD
	bool

config SYSTEMD_LOCALES
	bool
	select SYSTEMD_DBUS_SERVICES
	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_HOSTNAMED
	bool
	default y
	select SYSTEMD_DBUS_SERVICES
	prompt "hostname daemon"
	help
	  A tiny daemon that can be used to control the hostname and related
	  machine meta data from user programs.

config SYSTEMD_LOGIND
	bool
	select SYSTEMD_DBUS
	select SYSTEMD_DBUS_SERVICES
	prompt "login daemon"

config SYSTEMD_UNITS_USER
	bool
	select SYSTEMD_LOGIND
	prompt "install default user target units"

config SYSTEMD_NETWORK
	bool
	select SYSTEMD_DBUS_SERVICES
	prompt "network configuration with systemd"

config SYSTEMD_OPENSSL
	bool
	prompt "openssl support"
	help
	  OpenSSL is needed for DNSSEC support in systemd-resolved

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
	select SYSTEMD_DBUS_SERVICES
	prompt "date/time handling"
	help
	  NTP client for time synchronization and local timezone handling.

config SYSTEMD_TIMEDATE_VOLATILE
	bool
	prompt "volatile systemd-timesyncd"
	help
	  If this option is enabled then ptxdist assumes that
	  /var/lib/systemd/timesync is not writeable at runtime and
	  systemd-timesyncd cannot save the synchronized time.
	  PTXdist will prevent systemd from trying to create this directory.
	  This helps with nfsroot where incorrect permissions of the directory
	  prevent systemd-timesyncd from starting.

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

config SYSTEMD_QUOTACHECK
	bool
	default y
	prompt "disk quota support"
	help
	  File system quota checker logic

config SYSTEMD_NSPAWN
	bool
	prompt "install systemd-nspawn"

config SYSTEMD_REPART
	bool
	prompt "install systemd-repart"
	help
	  systemd-repart repartitions the disk on system boot if configuration
	  files are present. You should install these files in a separate
	  PTXdist package, or call systemd-repart explicitly.

config SYSTEMD_DEFAULT_NET_NAMING_SCHEME
	string
	prompt "default net.naming-scheme= value"
	default "latest"
	help
	  Preserve the naming scheme for network interfaces of the given
	  systemd version.

menu "journald                    "

config SYSTEMD_XZ
	bool
	prompt "XZ compressed journal support"

config SYSTEMD_LZ4
	bool
	prompt "LZ4 compressed journal support"

config SYSTEMD_ZSTD
	bool
	prompt "ZSTD compressed journal support"

config SYSTEMD_PCRE2
	bool
	prompt "regexp matching support using pcre2"

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_HWDB
	bool
	select SYSTEMD_HWDB
	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_FIDO
	bool
	prompt "fido"

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