aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorGravatar Michał Łyszczek <michal.lyszczek@bofc.pl>2019-05-12 21:55:40 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-05-18 23:16:04 +0200
commiteb77734d11db4a50f5e8a6757b673173f029e4e3 (patch)
tree9a8bc59b53c730e783d8cb4eab7245c2572dea25 /system
parenta7314d842e4ea0610d313bbefe07c85af525cd61 (diff)
downloadbuildroot-eb77734d11db4a50f5e8a6757b673173f029e4e3.tar.gz
buildroot-eb77734d11db4a50f5e8a6757b673173f029e4e3.tar.bz2
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>
Diffstat (limited to 'system')
-rw-r--r--system/Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/Config.in b/system/Config.in
index 498b56e222..af7d8566d3 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -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