Re: need Sysvinit as system manager in Rocko Version #rocko


Khem Raj
 

On 4/13/21 3:02 AM, rohitbjadhav1@gmail.com wrote:
I have created rootfs with Rocko yocto version.
I need sysyvinit as system manager instead of Systemd.
I have tried with following in local.conf
DISTRO_FEATURES_append = " sysvinit"
remove systemd from DISTRO_FEATURES as well.

DISTRO_FEATURES_remove = "sytemd"

VIRTUAL-RUNTIME_init_manager = "sysvinit"
VIRTUAL-RUNTIME_initscripts = "initscripts"
It created run-level folder like rcS and rc0.d to rc6.d. but did not created inittab file in /etc .
And after booting it rootfs boots up with systemd only
root@imx6ull14x14evk:~# ps -p1 | grep "init\|upstart\|systemd"
    1 ?        00:00:07 systemd
I need init as system manager . can you please guide me in this regard.
Thank you
Regards
Rohit

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