diff options
author | Kai Kang <kai.kang@windriver.com> | 2019-07-04 21:45:19 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-19 08:41:39 +0100 |
commit | 74646729a4cdb0a4d21dcbcb457ab1d7391a3d02 (patch) | |
tree | 4ac92eeb4f3b3b700c611601c3c2d45210e1f3ba /meta/conf/distro/defaultsetup.conf | |
parent | 13881ed2bd9e8ff7e64e68fd8289bb96be712e5d (diff) | |
download | poky-74646729a4cdb0a4d21dcbcb457ab1d7391a3d02.tar.gz |
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/defaultsetup.conf')
-rw-r--r-- | meta/conf/distro/defaultsetup.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf index 20e61232e9..9b1ee20aaa 100644 --- a/meta/conf/distro/defaultsetup.conf +++ b/meta/conf/distro/defaultsetup.conf | |||
@@ -23,3 +23,6 @@ PACKAGE_CLASSES ?= "package_ipk" | |||
23 | INHERIT_BLACKLIST = "blacklist" | 23 | INHERIT_BLACKLIST = "blacklist" |
24 | INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool" | 24 | INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool" |
25 | INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO} ${INHERIT_BLACKLIST}" | 25 | INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO} ${INHERIT_BLACKLIST}" |
26 | |||
27 | INIT_MANAGER ??= "none" | ||
28 | require conf/distro/include/init-manager-${INIT_MANAGER}.inc | ||