From 36ea4c99bd1d769e1b4098c8cc9baffc161131b6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 22 Jan 2016 20:45:03 +0000 Subject: [PATCH] local.conf.sample.extended: Document HOW-TO enable systemd or busbox for init system OE core provides systemd,busybox as options for system init system along with sysvinit being the default. Document the needed settings to enable systemd and busybox as options if user wishes. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta-yocto/conf/local.conf.sample.extended | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended index c2b62340369..b0269ba7091 100644 --- a/meta-yocto/conf/local.conf.sample.extended +++ b/meta-yocto/conf/local.conf.sample.extended @@ -371,3 +371,21 @@ # PREFERRED_VERSION_rpm = "4.11.2" # PREFERRED_VERSION_rpm-native = "4.11.2" # RPMROOTFSDEPENDS_remove = "rpmresolve-native:do_populate_sysroot" + +# +# Use busybox/mdev for system initialization +# +#VIRTUAL-RUNTIME_dev_manager = "busybox-mdev" +#VIRTUAL-RUNTIME_login_manager = "busybox" +#VIRTUAL-RUNTIME_init_manager = "busybox" +#VIRTUAL-RUNTIME_initscripts = "initscripts" +#VIRTUAL-RUNTIME_keymaps = "keymaps" +#DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" + +# +# Use systemd for system initialization +# +#DISTRO_FEATURES_append = " systemd" +#DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" +#VIRTUAL-RUNTIME_init_manager = "systemd" +#VIRTUAL-RUNTIME_initscripts = "systemd-compat-units" -- 2.47.3