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