mirror of
https://github.com/godotengine/buildroot.git
synced 2025-12-31 09:48:56 +03:00
system/Config.in: add new init - openrc
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
a7314d842e
commit
eb77734d11
@@ -11,6 +11,7 @@ config BR2_ROOTFS_SKELETON_DEFAULT
|
||||
bool "default target skeleton"
|
||||
select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_INIT_SYSV
|
||||
select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_INIT_BUSYBOX
|
||||
select BR2_PACKAGE_SKELETON_INIT_OPENRC if BR2_INIT_OPENRC
|
||||
select BR2_PACKAGE_SKELETON_INIT_SYSTEMD if BR2_INIT_SYSTEMD
|
||||
select BR2_PACKAGE_SKELETON_INIT_NONE if BR2_INIT_NONE
|
||||
help
|
||||
@@ -98,6 +99,16 @@ config BR2_INIT_SYSV
|
||||
select BR2_PACKAGE_INITSCRIPTS
|
||||
select BR2_PACKAGE_SYSVINIT
|
||||
|
||||
config BR2_INIT_OPENRC
|
||||
bool "OpenRC"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_OPENRC
|
||||
|
||||
comment "openrc needs a toolchain w/ dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
# In Buildroot, we decided not to support a split-usr when systemd is
|
||||
# used as an init system. This is a design decision, not a systemd
|
||||
# issue. Thus the select is with BR2_INIT_SYSTEMD (below) rather than
|
||||
|
||||
Reference in New Issue
Block a user