I’m currently working on a Yocto project and attempting to build the core-image-sato. However, I’m encountering the following errors:
ERROR: Nothing RPROVIDES 'xserver-xorg' (but /home/poky/meta/recipes-sato/images/core-image-sato.bb RDEPENDS on or otherwise requires it)
xserver-xorg was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
NOTE: Runtime target 'xserver-xorg' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['xserver-xorg']
ERROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato', 'xserver-xorg']
I have following layers added to bblayers.conf:
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= "
/home/poky/meta
/home/poky/meta-poky
/home/poky/meta-yocto-bsp
/home/poky/meta-xenomai
/home/poky/meta-kontron-sal28
/home/poky/meta-kontron-sal28-qt5
/home/poky/meta-freescale
/home/poky/meta-openembedded/meta-oe
/home/poky/meta-openembedded/meta-python
/home/poky/meta-openembedded/meta-networking
/home/poky/meta-openembedded/meta-xfce
/home/poky/meta-openembedded/meta-multimedia
/home/poky/meta-openembedded/meta-gnome
/home/poky/meta-qt5
/home/poky/meta-dpdk
/home/poky/meta-timesys
/home/poky/meta-openembedded/meta-filesystems
/home/berfin/poky/meta-virtualization
/home/poky/meta-clang
/home/poky/meta-browser/meta-firefox
/home/poky/meta-selinux
/home/poky/meta-security
/home/poky/meta-cloud-services
/home/poky/meta-freescale-distro
"
And also added following DISTRO_FEATURES & IMAGE_INSTALL in local.conf:
DISTRO_FEATURES:append = " x11 virtualization security xenomai opengl"
IMAGE_INSTALL:append = " xserver-xorg xinit matchbox-window-manager matchbox-session matchbox-terminal
matchbox-keyboard xterm lightdm gtk+ opengl
core-image-sato"
File core-image-sato.bb have following content:
IMAGE_FEATURES += "splash package-management x11-base x11-sato ssh-server-dropbear hwcodecs"
LICENSE = "MIT"
inherit core-image
TOOLCHAIN_HOST_TASK:append = " nativesdk-intltool nativesdk-glib-2.0"
TOOLCHAIN_HOST_TASK:remove:task-populate-sdk-ext = " nativesdk-intltool nativesdk-glib-2.0"
QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}'
QB_MEM:qemuarmv5 = "-m 256"
QB_MEM:qemumips = "-m 256"
I can build core-image-base without getting any warnings or errors, but i do not know how to solve this errors.