Config.in 16 KB

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