"
For init function, I have the fsl-wayland.conf file in \sources\meta-freescale-distro\conf\distro\fsl-wayland.conf as
# FSL Distro for Wayland with XWayland.
require conf/distro/include/fsl-base.inc
DISTRO = "fsl-xwayland"
DISTRO_NAME = "FSL Wayland with XWayland"
# Remove conflicting backends
DISTRO_FEATURES_remove = "directfb"
DISTRO_FEATURES_append = " x11 wayland pam systemd"
#VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_init_manager = "busybox"
VIRTUAL-RUNTIME_initscripts = "initscripts"
VIRTUAL-RUNTIME_keymaps = "keymaps"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
For sysinit function, I have updated the inc file in \meta-fsl-bsp-release\imx\meta-sdk\conf\distro\include\fsl-imx-preferred-env.inc as
# Use systemd as default init manager
VIRTUAL-RUNTIME_init_manager = "sysvinit"
#VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
#VIRTUAL-RUNTIME_login_manager = "busybox"
PREFERRED_PROVIDER_udev = "systemd"
PREFERRED_PROVIDER_udev-utils = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "systemd"
VIRTUAL-RUNTIME_initscripts = "initscripts"
IMX_DEFAULT_DISTRO_FEATURES += " sysvinit"
But I m getting error when the core-image-base_do_rootfs due to could not invoke dnf command and giving error as transaction failed . I have attached the error log file. Can someone resolve this issue? :(