Hello,
I am having issues building an image based on Yocto Dunfell for the var-som-mx6 platform.
During the building of the rootfs I am getting the following error
Collected errors:
* Solver encountered 1 problem(s):
* Problem 1/1:
* - package packagegroup-core-boot-1.0-r17.var_som_mx6 requires systemd, but none of the providers can be installed
*
* Solution 1:
* - do not ask to install a package providing resolvconf
* Solution 2:
* - do not ask to install a package providing packagegroup-core-boot
I found the following post: https://community.nxp.com/t5/Layerscape/systemd-conflicts-with-resolvconf/m-p/1044593 which did not provide a valid solution.
Here are my relevant environment variables
VIRTUAL-RUNTIME_init_manager="systemd"
VIRTUAL-RUNTIME_initscripts=""
DISTRO_FEATURES_BACKFILL_CONSIDERED=" sysvinit"
DISTRO_FEATURES="acl alsa argp bluetooth ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc vfat largefile opengl ptest multiarch wayland vulkan bluez5 wayland pam systemd pulseaudio gobject-introspection-data ldconfig"
IMX_DEFAULT_DISTRO_FEATURES=" systemd"
I have also tried
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
as mentioned in the above link
Hi @rro .
I can't reproduce your issue, even when setting the same values as you to the variables you've mentioned.
Did you follow the instructions on our variwiki.com website?
https://variwiki.com/index.php?title=Yocto_Build_Release&release=RELEASE_DUNFELL_V1.0_VAR-SOM-MX6
If you are still having issues, please open a ticket in the Variscite customer portal, and explain what are all the changes you did in the Yocto environment, and which image you trying to bitbake.
https://www.variscite.com/support/
Regards,
Eran
Variscite Ltd.
thank you for your reply
Does your test image include
IMAGE_INSTALL += "resolvconf"
?
Mine does, but perhaps this is not necessary considering systemd provides systemd-resolved ?
Tested again with
IMAGE_INSTALL += "resolvconf"
and still couldn't reproduce the issue.
Then I am not sure what else could be different.
I have of course read over https://variwiki.com/index.php?title=Yocto_Build_Release&release=RELEASE_DUNFELL_V1.0_VAR-SOM-MX6 . Perhaps I have missed something critical
Hello rro,
Maybe somebody form @variscite can help you since the board is from them and we are not using kernel 5.4.85v.
Regards