embedded-linuxyoctobuild-system

how to enable systemd in x11 in yocto


I am using yocto(krogoth) version and I have successfully compiled the images.
Distro:imx-fls-x11 && Image:fsl-image-qt5.
Now the issue is the rootfs is with systemV support now i want to use systemd. please help me to do this


Solution

  • Modify your local.conf and add :

    VIRTUAL-RUNTIME_init_manager = "systemd"
    VIRTUAL-RUNTIME_dev_manager = "systemd"
    DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
    VIRTUAL-RUNTIME_initscripts = ""
    

    It will set systemd as init daemon.