1config BR2_PACKAGE_OPENRC
2	bool "openrc"
3	depends on BR2_USE_MMU # fork()
4	depends on !BR2_STATIC_LIBS
5	depends on !BR2_TOOLCHAIN_USES_UCLIBC
6	depends on BR2_INIT_OPENRC
7	select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod tools
8	select BR2_PACKAGE_KMOD # runtime
9	select BR2_PACKAGE_KMOD_TOOLS # runtime
10	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
11	select BR2_PACKAGE_NCURSES
12	help
13	  Init that works on top of pid 1 (for example
14	  openrc-init). By default it does quite a lot on startup
15	  (like setting hwclock, mounting directories, configuring
16	  interfaces and so on). So for this init to properly work you
17	  need at least these tools on the root filesystem (default
18	  busybox configuration provides them all):
19
20	  swapon, fsck, hwclock, getty, login, grep, mount, coreutils,
21	  procps, modprobe (kmod), net-tools
22
23	  Number of tools may be decreased by removing services that
24	  use them.
25
26	  https://github.com/OpenRC/openrc
27
28comment "openrc needs a glibc or musl toolchain w/ dynamic library"
29	depends on BR2_USE_MMU
30	depends on BR2_INIT_OPENRC
31	depends on BR2_STATIC_LIBS && BR2_TOOLCHAIN_USES_UCLIBC
32