summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/init-manager-sysvinit.inc
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-07-04 21:45:19 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-19 08:41:39 +0100
commit74646729a4cdb0a4d21dcbcb457ab1d7391a3d02 (patch)
tree4ac92eeb4f3b3b700c611601c3c2d45210e1f3ba /meta/conf/distro/include/init-manager-sysvinit.inc
parent13881ed2bd9e8ff7e64e68fd8289bb96be712e5d (diff)
downloadpoky-74646729a4cdb0a4d21dcbcb457ab1d7391a3d02.tar.gz
poky-74646729a4cdb0a4d21dcbcb457ab1d7391a3d02.tar.bz2
poky-74646729a4cdb0a4d21dcbcb457ab1d7391a3d02.zip
defaultsetup.conf: enable select init manager
Introduce a new variable INIT_MANAGER and create 4 init-manager-*.inc files to configure init manager settings. Available values of INIT_MANAGER are sysvinit, systemd, mdev-busybox and a default of none. 'none' provides backwards compatibility. The settings of various VIRTUAL-RUNTIME variables are moved into these files from the packagegroups. [YOCTO #13031] [Modifications by RP for backwards compatibility] (From OE-Core rev: 8d0b4704a526a48cd5e67df61b613424bbbdccde) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro/include/init-manager-sysvinit.inc')
-rw-r--r--meta/conf/distro/include/init-manager-sysvinit.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/conf/distro/include/init-manager-sysvinit.inc b/meta/conf/distro/include/init-manager-sysvinit.inc
new file mode 100644
index 0000000000..6b662d60bb
--- /dev/null
+++ b/meta/conf/distro/include/init-manager-sysvinit.inc
@@ -0,0 +1,6 @@
+# Use sysvinit for system initialization
+DISTRO_FEATURES_append = " sysvinit"
+DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " systemd"
+VIRTUAL-RUNTIME_init_manager ??= "sysvinit"
+VIRTUAL-RUNTIME_initscripts ??= "initscripts"
+VIRTUAL-RUNTIME_login_manager ??= "busybox"