From 33e8e20d3c52afbbaf3675383fedc20225f2c19b Mon Sep 17 00:00:00 2001 From: Christopher Clark Date: Sun, 17 Sep 2017 18:21:38 -0700 Subject: xen-guest-image-minimal: Fix non-x86. Select x11 via IMAGE_FEATURES. Fix the image for non-x86, both with and without x11 included. * Only install xf86-video-vesa on x86 platforms as it is not available elsewhere. * In the absence of xf86-video-vesa (ie. on non-x86 platforms) enable opengl and remove wayland from IMAGE_INSTALL to satisfy build requirements for x11. * Use IMAGE_FEATURES instead of DISTRO_FEATURES to enable x11 inclusion in the image. * Verify the required DISTRO_FEATURE of 'xen' and if enabled, 'x11'. * When building the Xserver with Xen in DISTRO_FEATURES, on non-x86, turn off glamor by default, to remove dependency on egl. Introduces: xserver-xorg_%.bbappend Signed-off-by: Christopher Clark Signed-off-by: Bruce Ashfield --- recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend (limited to 'recipes-graphics') diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend new file mode 100644 index 00000000..95034045 --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend @@ -0,0 +1,13 @@ +# Change the default Xserver OpenGL configuration for non-x86 distros with Xen: deselect 'glamor'. +# This removes the dependency on libegl to simplify the domU build. +# +# To override this (eg. if wanted for dom0 images) define: +# REMOVED_OPENGL_PKGCONFIGS = "" + +XEN_REMOVED_OPENGL_PKGCONFIGS ?= "glamor" +XEN_REMOVED_OPENGL_PKGCONFIGS_x86 = "" +XEN_REMOVED_OPENGL_PKGCONFIGS_x86-64 = "" + +REMOVED_OPENGL_PKGCONFIGS ?= "${@bb.utils.contains('DISTRO_FEATURES', 'xen', "${XEN_REMOVED_OPENGL_PKGCONFIGS}", '', d)}" + +OPENGL_PKGCONFIGS_remove = "${REMOVED_OPENGL_PKGCONFIGS}" -- cgit v1.2.3-54-g00ecf