eb77734d11
This is very basic settings for openrc init. * system/Config.in Allows to select openrc as init system (which auto selects openrc-skeleton and openrc package). * package/ifupdown-scripts/Config.in openrc has its own service to bring up/down interfaces, so ifupdown-scripts should not be enabled when openrc is enabled to prevent service clash. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl> [Thomas: take into account the !BR2_STATIC_LIBS dependency] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
853 B
Plaintext
27 lines
853 B
Plaintext
config BR2_PACKAGE_OPENRC
|
|
bool "openrc"
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_INIT_OPENRC
|
|
select BR2_PACKAGE_NCURSES
|
|
help
|
|
Init that works on top of pid 1 (for example
|
|
openrc-init). By default it does quite a lot on startup
|
|
(like setting hwclock, mounting directories, configuring
|
|
interfaces and so on). So for this init to properly work you
|
|
need at least these tools on the root filesystem (default
|
|
busybox configuration provides them all):
|
|
|
|
swapon, fsck, hwclock, getty, login, grep, mount, coreutils,
|
|
procps, modprobe (kmod), net-tools
|
|
|
|
Number of tools may be decreased by removing services that
|
|
use them.
|
|
|
|
https://github.com/OpenRC/openrc
|
|
|
|
comment "openrc needs a toolchain w/ dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_INIT_OPENRC
|
|
depends on BR2_STATIC_LIBS
|