How to change the default Systemd - Init Manager of imx8mpevk board to Sysvinit.
Did changes in build/conf/local.conf file INIT_MANAGER = "sysvinit" and built the image.
Searched and confirmed the variable value with the following command.
$bitbake -e <image-bb-file> ^INIT_MANAGER=
But the image booted from SD card for Imx8mpevk "ps" command still shows "PID 1 systemd".
Please assist.
Solved! Go to Solution.
Hi @seenuEmb
You can refer such link to modify the bb file of weston
https://lists.openembedded.org/g/openembedded-core/topic/patch_weston_init_set/81349618?p=
Thanks for responding.
Did changes mentioned above. When checked PID 1 with "PS" command - busybox as init manager.
With these changes - imx8mp can boot and enters into root long-in page but does not launch Weston Wayland terminal and chromium browser as these packages were added part of <image>.bb file.
Even tried with INIT_MANAGER = "sysvinit" and VIRTUAL-RUNTIME_init_manager = "sysvinit" still the same behaviour.
Can you please assist am i missing anthing?
Try to change files: sources/meta-fsl-bsp-release/imx/meta-sdk/conf/distro/include/fsl-imx-preferred-env.inc
From:
# Use systemd as default init manager
# VIRTUAL-RUNTIME_init_manager = "systemd"
# PREFERRED_PROVIDER_udev = "systemd"
# PREFERRED_PROVIDER_udev-utils = "systemd"
# DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
# IMX_DEFAULT_DISTRO_FEATURES += " systemd"
To:
VIRTUAL-RUNTIME_init_manager = "busybox"
# PREFERRED_PROVIDER_udev = "sysvinit"
# PREFERRED_PROVIDER_udev-utils = "sysvinit"
# DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
IMX_DEFAULT_DISTRO_FEATURES += " sysvinit"
Hi @seenuEmb
You can refer such link to modify the bb file of weston
https://lists.openembedded.org/g/openembedded-core/topic/patch_weston_init_set/81349618?p=