Config.in 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. config BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
  2. bool
  3. # see src/basic/architecture.h
  4. default y if BR2_arc
  5. default y if BR2_aarch64 || BR2_aarch64_be
  6. default y if BR2_arm || BR2_armeb
  7. default y if BR2_i386 || BR2_x86_64
  8. default y if BR2_m68k
  9. default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  10. default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
  11. default y if BR2_nios2
  12. default y if BR2_riscv
  13. default y if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb
  14. default y if BR2_sparc || BR2_sparc64
  15. menuconfig BR2_PACKAGE_SYSTEMD
  16. bool "systemd"
  17. depends on BR2_INIT_SYSTEMD
  18. depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
  19. depends on BR2_USE_MMU
  20. depends on !BR2_STATIC_LIBS # kmod
  21. depends on BR2_TOOLCHAIN_USES_GLIBC
  22. depends on BR2_TOOLCHAIN_HAS_SSP
  23. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  24. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
  25. depends on BR2_HOST_GCC_AT_LEAST_5 # host-systemd
  26. select BR2_PACKAGE_HAS_UDEV
  27. select BR2_PACKAGE_DBUS # runtime dependency only
  28. select BR2_PACKAGE_LIBCAP
  29. select BR2_PACKAGE_UTIL_LINUX
  30. select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
  31. select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
  32. select BR2_PACKAGE_UTIL_LINUX_BINARIES
  33. select BR2_PACKAGE_UTIL_LINUX_AGETTY
  34. select BR2_PACKAGE_UTIL_LINUX_MOUNT
  35. select BR2_PACKAGE_UTIL_LINUX_NOLOGIN
  36. select BR2_PACKAGE_UTIL_LINUX_FSCK
  37. select BR2_PACKAGE_KMOD
  38. select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod-tools
  39. select BR2_PACKAGE_KMOD_TOOLS
  40. select BR2_TARGET_TZ_INFO
  41. select BR2_NEEDS_HOST_UTF8_LOCALE
  42. select BR2_PACKAGE_HOST_SYSTEMD # for systemctl preset-all, during target-finalize
  43. help
  44. systemd is a system and service manager for Linux,
  45. compatible with SysV and LSB init scripts. systemd provides
  46. aggressive parallelization capabilities, uses socket and
  47. D-Bus activation for starting services, offers on-demand
  48. starting of daemons, keeps track of processes using Linux
  49. cgroups, supports snapshotting and restoring of the system
  50. state, maintains mount and automount points and implements
  51. an elaborate transactional dependency-based service control
  52. logic. It can work as a drop-in replacement for sysvinit.
  53. Systemd requires a Linux kernel >= 3.0 with the following
  54. options enabled:
  55. - CONFIG_CGROUPS
  56. - CONFIG_INOTIFY_USER
  57. - CONFIG_FHANDLE
  58. - CONFIG_AUTOFS4_FS
  59. - CONFIG_TMPFS_POSIX_ACL
  60. - CONFIG_TMPFS_XATTR
  61. These options will be automatically enabled by Buildroot if
  62. it is responsible for building the kernel. Otherwise, if you
  63. are building your kernel outside of Buildroot, make sure
  64. these options are enabled.
  65. Systemd also provides udev, the userspace device daemon.
  66. The selection of other packages will enable some features:
  67. - acl package will add support for multi-seat.
  68. - xz and/or l4 packages will add compression support in
  69. journal and coredump.
  70. - libcurl package will add support for systemd-journal-upload.
  71. - libgcrypt package will add support for journal sealing and
  72. DNSSEC verification in resolved.
  73. Notice that systemd selects the fsck wrapper from util-linux
  74. but no particular fsck.<fstype> is selected. You must choose
  75. the apropriate ones (e.g. e2fsck, from the e2fsprogs
  76. package) according to the system configuration.
  77. http://freedesktop.org/wiki/Software/systemd
  78. if BR2_PACKAGE_SYSTEMD
  79. config BR2_PACKAGE_PROVIDES_UDEV
  80. default "systemd"
  81. config BR2_PACKAGE_SYSTEMD_BOOT
  82. bool "systemd-boot"
  83. depends on BR2_i386 || BR2_x86_64
  84. select BR2_PACKAGE_GNU_EFI
  85. help
  86. systemd-boot is a simple UEFI boot manager which executes
  87. configured EFI images. The default entry is selected by a
  88. configured pattern (glob) or an on-screen menu.
  89. systemd-boot operates on the EFI System Partition (ESP)
  90. only. Configuration file fragments, kernels, initrds, other
  91. EFI images need to reside on the ESP. Linux kernels need to
  92. be built with CONFIG_EFI_STUB to be able to be directly
  93. executed as an EFI image.
  94. See the Grub2 help text for details on preparing an EFI
  95. capable disk image using systemd-boot: the instructions are
  96. exactly the same, except that the systemd-boot configuration
  97. files will be located in /loader/ inside the EFI partition.
  98. https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/
  99. config BR2_PACKAGE_SYSTEMD_BOOT_EFI_ARCH
  100. string
  101. default "ia32" if BR2_i386
  102. default "x64" if BR2_x86_64
  103. depends on BR2_PACKAGE_SYSTEMD_BOOT
  104. config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
  105. bool "HTTP server for journal events"
  106. select BR2_PACKAGE_LIBMICROHTTPD
  107. help
  108. systemd-journal-gatewayd serves journal events over the
  109. network. Clients must connect using HTTP. The server
  110. listens on port 19531 by default.
  111. http://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html
  112. config BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE
  113. bool "enable systemd-journal-remote"
  114. depends on BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
  115. select BR2_PACKAGE_LIBCURL
  116. help
  117. systemd-journal-remote is a command to receive serialized
  118. journal events and store them to journal files. Input
  119. streams are in the Journal Export Format[1], i.e. like the
  120. output from journalctl --output=export. For transport over
  121. the network, this serialized stream is usually carried over
  122. an HTTPS connection.
  123. https://www.freedesktop.org/software/systemd/man/systemd-journal-remote.service.html
  124. config BR2_PACKAGE_SYSTEMD_BACKLIGHT
  125. bool "enable backlight support"
  126. help
  127. systemd-backlight is a service that restores the display
  128. backlight brightness at early boot and saves it at shutdown.
  129. http://www.freedesktop.org/software/systemd/man/systemd-backlight@.service.html
  130. config BR2_PACKAGE_SYSTEMD_BINFMT
  131. bool "enable binfmt tool"
  132. help
  133. systemd-binfmt is an early boot service that registers
  134. additional binary formats for executables in the kernel.
  135. http://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html
  136. config BR2_PACKAGE_SYSTEMD_COREDUMP
  137. bool "enable coredump hook"
  138. help
  139. systemd-coredump can be used as a helper binary by the
  140. kernel when a user space program receives a fatal signal and
  141. dumps core.
  142. http://www.freedesktop.org/software/systemd/man/systemd-coredump.html
  143. config BR2_PACKAGE_SYSTEMD_PSTORE
  144. bool "enable pstore support"
  145. default y
  146. help
  147. When this features is enabled, additional tools and services
  148. are built to support archiving contents of the persistent
  149. storage filesytem.
  150. https://www.freedesktop.org/software/systemd/man/systemd-pstore.html
  151. config BR2_PACKAGE_SYSTEMD_FIRSTBOOT
  152. bool "enable firstboot support"
  153. help
  154. systemd-firstboot initializes the most basic system settings
  155. interactively on the first boot.
  156. http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html
  157. config BR2_PACKAGE_SYSTEMD_HIBERNATE
  158. bool "enable hibernation support"
  159. help
  160. When this features is enabled, additional tools and services
  161. are built to support suspending and resuming the system.
  162. http://www.freedesktop.org/software/systemd/man/systemd-sleep.html
  163. config BR2_PACKAGE_SYSTEMD_HOSTNAMED
  164. bool "enable hostname daemon"
  165. default y
  166. help
  167. systemd-hostnamed is a system service that may be used as a
  168. mechanism to change the system's hostname.
  169. http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html
  170. config BR2_PACKAGE_SYSTEMD_HWDB
  171. bool "enable hwdb installation"
  172. default y
  173. help
  174. Enables hardware database installation to /usr/lib/udev/hwdb.d
  175. Disabling this option improves first boot time (or every boot
  176. time in case of initramfs images) and saves several MB space.
  177. https://www.freedesktop.org/software/systemd/man/hwdb.html
  178. config BR2_PACKAGE_SYSTEMD_IMPORTD
  179. bool "enable import daemon"
  180. depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
  181. select BR2_PACKAGE_LIBCURL
  182. select BR2_PACKAGE_LIBGCRYPT
  183. select BR2_PACKAGE_BZIP2
  184. select BR2_PACKAGE_LZ4
  185. select BR2_PACKAGE_XZ
  186. select BR2_PACKAGE_ZLIB
  187. help
  188. systemd-importd is a system service that manages virtual
  189. machine and container images for systemd-machined and
  190. machinectl.
  191. http://www.freedesktop.org/software/systemd/man/machinectl.html#Image%20Transfer%20Commands
  192. config BR2_PACKAGE_SYSTEMD_LOCALED
  193. bool "enable locale daemon"
  194. help
  195. systemd-localed is a system service that may be used as
  196. mechanism to change the system locale settings, as well as
  197. the console key mapping and default X11 key mapping.
  198. http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html
  199. config BR2_PACKAGE_SYSTEMD_LOGIND
  200. bool "enable login daemon"
  201. help
  202. systemd-logind is a system service that manages user logins.
  203. http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html
  204. config BR2_PACKAGE_SYSTEMD_MACHINED
  205. bool "enable machine daemon"
  206. help
  207. systemd-machined is a system service that keeps track of
  208. virtual machines and containers, and processes belonging to
  209. them.
  210. http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html
  211. config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
  212. bool "enable myhostname NSS plugin"
  213. default y
  214. help
  215. nss-myhostname is a plug-in module for the GNU Name Service
  216. Switch (NSS) functionality of the GNU C Library (glibc),
  217. primarily providing hostname resolution for the locally
  218. configured system hostname as returned by gethostname(2).
  219. http://www.freedesktop.org/software/systemd/man/nss-myhostname.html
  220. config BR2_PACKAGE_SYSTEMD_NETWORKD
  221. bool "enable network manager"
  222. default y
  223. help
  224. systemd-networkd is a system service that manages networks.
  225. It detects and configures network devices as they appear, as
  226. well as creating virtual network devices.
  227. This simple network configuration solution is an alternative
  228. to dhcpcd or ISC dhcp.
  229. http://www.freedesktop.org/software/systemd/man/systemd-networkd.html
  230. config BR2_PACKAGE_SYSTEMD_POLKIT
  231. bool "enable polkit support"
  232. depends on BR2_HOST_GCC_AT_LEAST_4_9 # polkit
  233. depends on BR2_INSTALL_LIBSTDCPP # polkit
  234. depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS # polkit
  235. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # polkit
  236. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # polkit
  237. depends on BR2_USE_WCHAR # libglib2
  238. select BR2_PACKAGE_POLKIT
  239. help
  240. If enabled, systemd is built with polkit support and policy
  241. files for its services are generated and installed. It is
  242. useful for allowing unprivileged processes to speak to
  243. systemd's many privileged processes.
  244. http://wiki.freedesktop.org/www/Software/polkit/
  245. comment "polkit support needs a toolchain with C++, wchar, NPTL, gcc >= 4.9"
  246. depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS
  247. depends on !BR2_INSTALL_LIBSTDCPP || \
  248. !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
  249. !BR2_HOST_GCC_AT_LEAST_4_9 || \
  250. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
  251. !BR2_USE_WCHAR
  252. config BR2_PACKAGE_SYSTEMD_QUOTACHECK
  253. bool "enable quotacheck tools"
  254. help
  255. systemd-quotacheck is a service responsible for file system
  256. quota checks. It is run once at boot after all necessary
  257. file systems are mounted. It is pulled in only if at least
  258. one file system has quotas enabled.
  259. http://www.freedesktop.org/software/systemd/man/systemd-quotacheck.service.html
  260. config BR2_PACKAGE_SYSTEMD_RANDOMSEED
  261. bool "enable random-seed support"
  262. help
  263. systemd-random-seed is a service that restores the random
  264. seed of the system at early boot and saves it at
  265. shutdown. Saving/restoring the random seed across boots
  266. increases the amount of available entropy early at boot.
  267. http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html
  268. config BR2_PACKAGE_SYSTEMD_REPART
  269. bool "enable repart support"
  270. select BR2_PACKAGE_OPENSSL
  271. select BR2_PACKAGE_UTIL_LINUX_LIBFDISK
  272. help
  273. systemd-repart grows and adds partitions to a partition table,
  274. based on the configuration files described in repart.d.
  275. https://www.freedesktop.org/software/systemd/man/systemd-repart.html
  276. config BR2_PACKAGE_SYSTEMD_RESOLVED
  277. bool "enable resolve daemon"
  278. default y
  279. help
  280. systemd-resolved is a system service that provides network
  281. name resolution to local applications. It implements a
  282. caching and validating DNS/DNSSEC stub resolver, as well as
  283. an LLMNR resolver and responder.
  284. http://www.freedesktop.org/software/systemd/man/systemd-resolved.html
  285. config BR2_PACKAGE_SYSTEMD_RFKILL
  286. bool "enable rfkill tools"
  287. help
  288. systemd-rfkill is a service that restores the RF kill switch
  289. state at early boot and saves it at shutdown.
  290. http://www.freedesktop.org/software/systemd/man/systemd-rfkill@.service.html
  291. config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT
  292. bool "enable SMACK support"
  293. select BR2_PACKAGE_ATTR
  294. select BR2_PACKAGE_SMACK
  295. help
  296. Enable support for SMACK, the Simple Mandatory Access
  297. Control Kernel, a minimal approach to Access Control
  298. implemented as a kernel LSM.
  299. This feature requires a kernel >= 3.8.
  300. When this feature is enabled, Systemd mounts smackfs and
  301. manages security labels for sockets.
  302. config BR2_PACKAGE_SYSTEMD_SYSUSERS
  303. bool "enable sysusers support"
  304. help
  305. systemd-sysusers creates system users and groups, based on
  306. the file format and location specified in sysusers.d(5).
  307. http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
  308. config BR2_PACKAGE_SYSTEMD_TIMEDATED
  309. bool "enable timedate daemon"
  310. default y
  311. help
  312. systemd-timedated is a system service that may be used as a
  313. mechanism to change the system clock and timezone, as well
  314. as to enable/disable NTP time synchronization.
  315. http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html
  316. config BR2_PACKAGE_SYSTEMD_TIMESYNCD
  317. bool "enable timesync daemon"
  318. default y
  319. help
  320. systemd-timesyncd is a service that may be used to
  321. synchronize the local system clock with a Network Time
  322. Protocol server.
  323. This simple NTP solution is an alternative to sntp/ntpd from
  324. the ntp package.
  325. http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.html
  326. config BR2_PACKAGE_SYSTEMD_TMPFILES
  327. bool "enable tmpfiles support"
  328. default y
  329. help
  330. systemd-tmpfiles creates, deletes, and cleans up volatile
  331. and temporary files and directories, based on the
  332. configuration file format and location specified in
  333. tmpfiles.d(5).
  334. http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html
  335. config BR2_PACKAGE_SYSTEMD_USERDB
  336. bool "enable userdb daemon"
  337. help
  338. systemd-userdbd is a system service that multiplexes
  339. user/group lookups to all local services that provide JSON
  340. user/group record definitions to the system. In addition it
  341. synthesizes JSON user/group records from classic UNIX/glibc
  342. NSS user/group records in order to provide full backwards
  343. compatibility.
  344. https://www.freedesktop.org/software/systemd/man/systemd-userdbd.service.html
  345. config BR2_PACKAGE_SYSTEMD_VCONSOLE
  346. bool "enable vconsole tool"
  347. default y
  348. help
  349. systemd-vconsole-setup is an early boot service that
  350. configures the virtual console font and console keymap.
  351. http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html
  352. endif