Yocto 支持从sysvinit 到 systemd

Freescale 的imx6 platform 默认支持的文件系统为sysvinit,但是sysvinit没有对 services的管理模块.


为了增加管理模块,我们需要将sysvinit 改为systemd.


DISTRO=fsl-imx-fb MACHINE=imx6ulevk source fsl-setup-release.sh -b image_4_1_15

bitbake fsl-image-machine-test

 

改变 local.conf

DISTRO_FEATURES_append = " systemd"

VIRTUAL-RUNTIME_init_manager = "systemd"

DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"

bitbake fsl-image-machine-test 或者 bitbake fsl-image-gui


I was able to form image but it hangs while booting. While searching for solution I came to know we need to enable

CONFIG_FHANDLE=y in deconfig

你可能感兴趣的:(Embedded,Systems)