I am able to build a custom distro using yocto and the community BSP for an iMX6 based apalis module in ixora base board using sysvinit without any major problem.
What I want to do though is use a systemd based init so I add
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = “systemd”
DISTRO_FEATURES_BACKFILL_CONSIDERED = “sysvinit”
VIRTUAL-RUNTIME_initscripts = “”
to my distro config file. The build then runs to the last task do_rootfs where it fails with a number of ‘problems’ like so:
nothing provides kernel-3.14.52-v2.6b2.1+g9f2723e14bab needed by kernel-module-galcore-3.14.52-v2.6b2.1+g9f2723e14bab-5.0.11.p8.6+fslc+git0+a05d9b23b9-r0.apalis_imx6
while its trying to execute the dnf command to install the rootfs.
I have been unable so far to find out why it is failing here. I am able to supply any further information that might help resolve this problem. From what I understand if there was a package stipulating a newer virtual/kernel version is required it would fail much earlier with a more precise error message.