Re: How to switch yocto INIT_MANAGER from systemd to sysvinit #dunfell


Robert P. J. Day
 

On Thu, 27 May 2021, sayinswapna@gmail.com wrote:

Hello Yocto team:

I just started with yocto and would like to know the process for switching the init
manager from systemd to sysvinit.

I tried this options in config file
VIRTUAL-RUNTIME_init_manager = "busybox"
PREFERRED_PROVIDER_udev = "sysvinit"
PREFERRED_PROVIDER_udev-utils = "sysvinit"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
DEFAULT_DISTRO_FEATURES += " sysvinit"
as i recall, all of the above can be replaced by a single assignment
to the INIT_MANAGER variable.

rday

Join yocto@lists.yoctoproject.org to automatically receive all group messages.